emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108083: * lisp/eshell/esh-cmd.el


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108083: * lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
Date: Fri, 02 Nov 2012 02:19:23 -0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108083
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2012-05-01 14:48:46 -0400
message:
  * lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
modified:
  lisp/ChangeLog
  lisp/eshell/esh-cmd.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-05-01 18:47:23 +0000
+++ b/lisp/ChangeLog    2012-05-01 18:48:46 +0000
@@ -1,5 +1,7 @@
 2012-05-01  Glenn Morris  <address@hidden>
 
+       * 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  <address@hidden>

=== modified file 'lisp/eshell/esh-cmd.el'
--- a/lisp/eshell/esh-cmd.el    2012-01-19 07:21:25 +0000
+++ b/lisp/eshell/esh-cmd.el    2012-05-01 18:48:46 +0000
@@ -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 <address@hidden>
 
@@ -236,10 +236,14 @@
   :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)
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]