2012-05-01 Glenn Morris <rgm@gnu.org>
+ * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
+
* cus-edit.el (custom-variable-documentation): Simplify with format.
2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
;;; 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>
: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)