aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorMattias EngdegÄrd2022-07-16 14:03:43 +0200
committerMattias EngdegÄrd2022-07-16 14:05:44 +0200
commitea9b442b82f1efd7e41094b455a00d73c16d0fc3 (patch)
tree73fb06b314624db5d0def3df1b25b831d7ddcee7 /lisp/eshell
parenta281abb0c3ff554ae3a76d1235c54bcdafec59a2 (diff)
downloademacs-ea9b442b82f1efd7e41094b455a00d73c16d0fc3.tar.gz
emacs-ea9b442b82f1efd7e41094b455a00d73c16d0fc3.zip
Update `eshell-variable-aliases-list` defcustom type
* lisp/eshell/esh-var.el (eshell-variable-aliases-list): Add type for SIMPLE-FUNCTION value.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-var.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/eshell/esh-var.el b/lisp/eshell/esh-var.el
index 2c92567773e..2f6614b5d73 100644
--- a/lisp/eshell/esh-var.el
+++ b/lisp/eshell/esh-var.el
@@ -212,7 +212,9 @@ Additionally, if COPY-TO-ENVIRONMENT is non-nil, the alias should be
212copied (a.k.a. \"exported\") to the environment of created subprocesses." 212copied (a.k.a. \"exported\") to the environment of created subprocesses."
213 :type '(repeat (list string sexp 213 :type '(repeat (list string sexp
214 (choice (const :tag "Copy to environment" t) 214 (choice (const :tag "Copy to environment" t)
215 (const :tag "Use only in Eshell" nil)))) 215 (const :tag "Use only in Eshell" nil))
216 (choice (const :tag "Call without argument" t)
217 (const :tag "Call with 2 arguments" nil))))
216 :risky t) 218 :risky t)
217 219
218(defvar-keymap eshell-var-mode-map 220(defvar-keymap eshell-var-mode-map