From beb83b5ac5c552ae221fc96cf55de18936978736 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 1 May 2012 14:48:46 -0400 Subject: [PATCH] * lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set. --- lisp/ChangeLog | 2 ++ lisp/eshell/esh-cmd.el | 14 +++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e4c45a2347..887441d1c9 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 6075b56915..86de972579 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) -- 2.20.1