]> git.eshelyaron.com Git - emacs.git/commitdiff
* man.el (Man-highlight-references0): Use make-button (Bug#7881).
authorChong Yidong <cyd@stupidchicken.com>
Sat, 22 Jan 2011 03:53:06 +0000 (22:53 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 22 Jan 2011 03:53:06 +0000 (22:53 -0500)
lisp/ChangeLog
lisp/man.el

index 22fee77f584b40b2e0e6c5cdd2a8b678111bd681..b600537c9a1e54a95d1057e1846ed0351231e222 100644 (file)
@@ -1,3 +1,7 @@
+2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
+
+       * man.el (Man-highlight-references0): Use make-button (Bug#7881).
+
 2011-01-22  Phil Hagelberg  <phil@evri.com>
 
        * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
index d22ea9cebb6d67e6f57ca50b0a4e42b975546b7a..98257e62bfca484e528f90548844f39e992dfc23 100644 (file)
@@ -1154,7 +1154,9 @@ default type, `Man-xref-man-page' is used for the buttons."
                 (goto-char (point-min))
                 nil)))
       (while (re-search-forward regexp end t)
-       (make-text-button
+       ;; An overlay button is preferable because the underlying text
+       ;; may have text property highlights (Bug#7881).
+       (make-button
         (match-beginning button-pos)
         (match-end button-pos)
         'type type