Skip to content

Commit

Permalink
Add history var to helm-apropos.
Browse files Browse the repository at this point in the history
* helm-elisp.el (helm-apropos-history): New.
(helm-apropos): Use it.
  • Loading branch information
Thierry Volpiatto committed Jun 25, 2016
1 parent aa4167a commit 1467975
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm-elisp.el
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,8 @@ Filename completion happen if string start after or between a double quote."
;;; Apropos
;;
;;
(defvar helm-apropos-history nil)

(defun helm-apropos-init (test default)
"Init candidates buffer for `helm-apropos' sources."
(require 'helm-help)
Expand Down Expand Up @@ -681,6 +683,7 @@ i.e the `symbol-name' of any existing symbol."
(mapcar (lambda (func)
(funcall func default))
helm-apropos-function-list)
:history 'helm-apropos-history
:buffer "*helm apropos*"
:preselect (and default (concat "\\_<" (regexp-quote default) "\\_>"))))

Expand Down

0 comments on commit 1467975

Please sign in to comment.