]> git.eshelyaron.com Git - emacs.git/commitdiff
Make buttons in header lines work
authorVaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
Tue, 23 Feb 2016 09:46:00 +0000 (20:46 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 23 Feb 2016 09:47:24 +0000 (20:47 +1100)
* lisp/help-mode.el (help-button-action): `help-xref-button' in
header line doesn't work (bug#21024).

Backport:

(cherry picked from commit c11e565a6b6d09fa39d4c3ef65bef08190eaecc1)

lisp/help-mode.el

index e0f3351e67de4e07e1340640ded71936c409fde8..7b95e5fb04e195373974dc2423904b1f9ade86e8 100644 (file)
@@ -107,7 +107,7 @@ The format is (FUNCTION ARGS...).")
 
 (defun help-button-action (button)
   "Call BUTTON's help function."
-  (help-do-xref (button-start button)
+  (help-do-xref nil
                (button-get button 'help-function)
                (button-get button 'help-args)))