summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/eshell/esh-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index 5da511626c5..d0393df4153 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -188,7 +188,7 @@ This is used by `eshell-watch-for-password-prompt'."
(defcustom eshell-skip-prompt-function nil
"*A function called from beginning of line to skip the prompt."
- :type 'function
+ :type '(choice (const nil) function)
:group 'eshell-mode)
(defcustom eshell-status-in-modeline t