summaryrefslogtreecommitdiff
path: root/lisp/eshell
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-05-01 14:48:46 -0400
committerGlenn Morris <rgm@gnu.org>2012-05-01 14:48:46 -0400
commitbeb83b5ac5c552ae221fc96cf55de18936978736 (patch)
treec63ba9f623285b2f3ea8d29b2acbfa3db0a35a2b /lisp/eshell
parentd80ac57b32c2cf2b3b86e60a550858c81f214ebc (diff)
downloademacs-beb83b5ac5c552ae221fc96cf55de18936978736.tar.gz
* lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-cmd.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el
index 6075b56915b..86de9725790 100644
--- a/lisp/eshell/esh-cmd.el
+++ b/lisp/eshell/esh-cmd.el
@@ -1,6 +1,6 @@
;;; esh-cmd.el --- command invocation
-;; Copyright (C) 1999-2012 Free Software Foundation, Inc.
+;; Copyright (C) 1999-2012 Free Software Foundation, Inc.
;; Author: John Wiegley <johnw@gnu.org>
@@ -236,10 +236,14 @@ return non-nil if the command is complex."
:group 'eshell-cmd)
(defcustom eshell-debug-command nil
- "If non-nil, enable debugging code. SSLLOOWW.
-This option is only useful for reporting bugs. If you enable it, you
-will have to visit the file 'eshell-cmd.el' and run the command
-\\[eval-buffer]."
+ "If non-nil, enable Eshell debugging code.
+This is slow, and only useful for debugging problems with Eshell.
+If you change this without using customize after Eshell has loaded,
+you must re-load 'eshell-cmd.el'."
+ :initialize 'custom-initialize-default
+ :set (lambda (symbol value)
+ (set sym val)
+ (load-library "esh-cmd"))
:type 'boolean
:group 'eshell-cmd)