From ea9b442b82f1efd7e41094b455a00d73c16d0fc3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sat, 16 Jul 2022 14:03:43 +0200 Subject: [PATCH] Update `eshell-variable-aliases-list` defcustom type * lisp/eshell/esh-var.el (eshell-variable-aliases-list): Add type for SIMPLE-FUNCTION value. --- lisp/eshell/esh-var.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2