diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2019-03-26 06:15:29 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2019-03-26 06:15:29 +0100 |
commit | 4267c7ecf100e6afa544199dd6ed4098e4ee552b (patch) | |
tree | 91f18730e8fe76e94a2515de4269400dac5ef39a /helm.el | |
parent | 1050b7650099947c72186116443f5c14c46e9f81 (diff) |
Make helm-truncate-lines a user var
to allow setting truncate-lines at helm startup.
* helm.el (helm-truncate-lines): Now a new user var.
Diffstat (limited to 'helm.el')
-rw-r--r-- | helm.el | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -800,6 +800,12 @@ Fallback to 100 when nil." "The function to use to set face of fake cursor in header-line." :group 'helm :type 'function) + +(defcustom helm-truncate-lines nil + "The value of `truncate-lines' when helm startup. +You can toggle later `truncate-lines' with \\<helm-map>\\[helm-toggle-truncate-line]." + :group 'helm + :type 'boolean) ;;; Faces ;; @@ -1421,8 +1427,6 @@ Note that if also :input is specified as `helm' arg, it will take precedence on :default.") (defvar helm--temp-hooks nil "Store temporary hooks added by `with-helm-temp-hook'.") -(defvar helm-truncate-lines nil - "[Internal] Don't set this globally, it is used as a local var.") (defvar helm--prompt nil) (defvar helm--file-completion-sources '("Find Files" "Read File Name") |