diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-07-16 14:03:43 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-07-16 14:05:44 +0200 |
commit | ea9b442b82f1efd7e41094b455a00d73c16d0fc3 (patch) | |
tree | 73fb06b314624db5d0def3df1b25b831d7ddcee7 /lisp/eshell/esh-var.el | |
parent | a281abb0c3ff554ae3a76d1235c54bcdafec59a2 (diff) | |
download | emacs-ea9b442b82f1efd7e41094b455a00d73c16d0fc3.tar.gz |
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/esh-var.el')
-rw-r--r-- | lisp/eshell/esh-var.el | 4 |
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 copied (a.k.a. \"exported\") to the environment of created subprocesses." :type '(repeat (list string sexp (choice (const :tag "Copy to environment" t) - (const :tag "Use only in Eshell" nil)))) + (const :tag "Use only in Eshell" nil)) + (choice (const :tag "Call without argument" t) + (const :tag "Call with 2 arguments" nil)))) :risky t) (defvar-keymap eshell-var-mode-map |