diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2014-03-27 09:50:19 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2014-03-27 09:50:19 +0100 |
commit | bb9f6dffe91cbec260e6989644f2076bdd35cb82 (patch) | |
tree | b02e246ba0dd3b202ed425ede1c5e28f2dd9bc20 /helm-eshell.el | |
parent | 296219b7d218ab9f6cf93e68ec4665ede8ed2d2d (diff) |
Allow disabling marked candidates.
* helm.el (helm-mark-all, helm-toggle-visible-mark): Don't mark when nomark present in source.
* helm-command.el (helm-M-x): Disable marking
* helm-elisp.el: disable marking in lisp completion.
* helm-eshell.el: disable marking in eshell completion and history.
* helm-sys.el: disable marking in top.
* helm-mode.el (helm-comp-read, helm-read-file-name): new keyword nomark.
(helm--completion-in-region): use it.
* helm-help.el: Document nomark attr.
Diffstat (limited to 'helm-eshell.el')
-rw-r--r-- | helm-eshell.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helm-eshell.el b/helm-eshell.el index af1ddf4c..de16b71b 100644 --- a/helm-eshell.el +++ b/helm-eshell.el @@ -56,6 +56,7 @@ ;; Remove it for the helm one. (Fixed in Emacs24) (remove-hook 'minibuffer-setup-hook 'eshell-mode))) (candidates . helm-esh-get-candidates) + (nomark) (persistent-action . ignore) (filtered-candidate-transformer (lambda (candidates _sources) @@ -153,6 +154,7 @@ The function that call this should set `helm-ec-target' to thing at point." ;; Same comment as in `helm-source-esh' (remove-hook 'minibuffer-setup-hook 'eshell-mode))) (candidates-in-buffer) + (nomark) (keymap . ,helm-eshell-history-map) (filtered-candidate-transformer . (lambda (candidates sources) (reverse candidates))) |