Skip to content

Commit

Permalink
helm-eval-expression uses `read-expression-history' instead of its own
Browse files Browse the repository at this point in the history
  • Loading branch information
Le Wang committed Sep 4, 2012
1 parent 3a1bce7 commit 82d2db7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions helm-eval.el
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ Should take one arg: the string to display."
;;
;; Internal
(defvar helm-eldoc-active-minibuffers-list nil)
(defvar helm-eval-expression-input-history nil)

(defvar helm-eval-expression-map
(let ((map (make-sparse-keymap)))
Expand Down Expand Up @@ -143,7 +142,7 @@ Should take one arg: the string to display."
(helm :sources 'helm-c-source-evaluation-result
:input (when arg (thing-at-point 'sexp))
:buffer "*helm eval*"
:history 'helm-eval-expression-input-history
:history 'read-expression-history
:keymap helm-eval-expression-map))

;;;###autoload
Expand Down

0 comments on commit 82d2db7

Please sign in to comment.