* novice.el (disabled-command-function): Remove a spurious help xref.
authorChong Yidong <cyd@gnu.org>
Fri, 7 Dec 2012 16:34:01 +0000 (00:34 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 7 Dec 2012 16:34:01 +0000 (00:34 +0800)
Suggested by Kelly Dean.

Fixes: debbugs:13043

lisp/ChangeLog
lisp/novice.el

index ab351f2..18dc2e9 100644 (file)
@@ -1,5 +1,8 @@
 2012-12-07  Chong Yidong  <cyd@gnu.org>
 
+       * novice.el (disabled-command-function): Remove a spurious help
+       xref (Bug#13043).  Suggested by Kelly Dean.
+
        * subr.el (text-clone-maintain): Fix clone overlay deletion when a
        syntax is specified (Bug#13025).
 
index c621ac4..b8e4a26 100644 (file)
@@ -49,7 +49,6 @@ If nil, the feature is disabled, i.e., all commands work normally.")
   (unless keys (setq keys (this-command-keys)))
   (let (char)
     (save-window-excursion
-      (help-setup-xref (list 'disabled-command-function cmd keys) nil)
       (with-output-to-temp-buffer "*Disabled Command*" ;; (help-buffer)
         (if (or (eq (aref keys 0)
                     (if (stringp keys)