emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ea9b442b82: Update `eshell-variable-aliases-list` defcustom type


From: Mattias Engdegård
Subject: master ea9b442b82: Update `eshell-variable-aliases-list` defcustom type
Date: Sat, 16 Jul 2022 08:06:24 -0400 (EDT)

branch: master
commit ea9b442b82f1efd7e41094b455a00d73c16d0fc3
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    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 2c92567773..2f6614b5d7 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]