Update eshell-variable-aliases-list defcustom type

* lisp/eshell/esh-var.el (eshell-variable-aliases-list):
Add type for SIMPLE-FUNCTION value.
This commit is contained in:
Mattias Engdegård 2022-07-16 14:03:43 +02:00
parent a281abb0c3
commit ea9b442b82

View file

@ -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