emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 6d2a3ca: Fix describe-function keybinding confusion


From: Paul Eggert
Subject: [Emacs-diffs] master 6d2a3ca: Fix describe-function keybinding confusion
Date: Sat, 05 Sep 2015 15:51:25 +0000

branch: master
commit 6d2a3ca2fc60d89a2454a0ee6cd4e814801e4e39
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Fix describe-function keybinding confusion
    
    * lisp/help-fns.el (describe-function-1): Compute signature
    in the original buffer, not in standard-output, so that
    substitute-command-keys uses the proper keybindings.
    This fixes Bug#21412, introduced in commit
    2015-06-11T10:23:address@hidden
---
 lisp/help-fns.el |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index a1d121c..f5c7eb3 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -614,9 +614,9 @@ FILE is the file where FUNCTION was probably defined."
             (autoload-do-load real-def))
 
         (help-fns--key-bindings function)
-        (with-current-buffer standard-output
-         (let ((doc (help-fns--signature function doc-raw sig-key
-                                          real-function nil)))
+        (let ((doc (help-fns--signature function doc-raw sig-key
+                                        real-function nil)))
+          (with-current-buffer standard-output
            (run-hook-with-args 'help-fns-describe-function-functions function)
            (insert "\n"
                    (or doc "Not documented."))))))))



reply via email to

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