From: Glenn Morris Date: Tue, 1 May 2012 18:48:46 +0000 (-0400) Subject: * lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set. X-Git-Tag: emacs-24.2.90~471^2~224 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=beb83b5ac5c552ae221fc96cf55de18936978736;p=emacs.git * lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e4c45a23478..887441d1c9d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2012-05-01 Glenn Morris + * 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 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 @@ -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)