branch: elpa/helm commit 96153cd800af1b0a4ad7ad327616167e2f8f25b0 Author: Binbin Ye <phantom2...@gmail.com> Commit: Binbin Ye <phantom2...@gmail.com>
remove quote, make comment short --- helm-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-mode.el b/helm-mode.el index 1ca0e7b1a8..3697fb4a09 100644 --- a/helm-mode.el +++ b/helm-mode.el @@ -883,8 +883,8 @@ that use `helm-comp-read'. See `helm-M-x' for example." :history (and (symbolp input-history) input-history) :buffer buffer)) (remove-hook 'helm-after-update-hook 'helm-comp-read--move-to-first-real-candidate)) - ;; If `history' is a symbol save it. but when `history' is t, meaning not to remember history. - (when (and result history (symbolp history) (not (eq history 't))) + ;; If `history' is a symbol save it, except when it is t. + (when (and result history (symbolp history) (not (eq history t))) (set history ;; RESULT may be a a string or a list of strings bug #2461. (delete-dups (append (mapcar #'substring-no-properties (helm-mklist result))