emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r102934: * man.el (Man-highlight-refe


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102934: * man.el (Man-highlight-references0): Use make-button (Bug#7881).
Date: Fri, 21 Jan 2011 22:53:06 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102934
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Fri 2011-01-21 22:53:06 -0500
message:
  * man.el (Man-highlight-references0): Use make-button (Bug#7881).
modified:
  lisp/ChangeLog
  lisp/man.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-01-22 02:20:57 +0000
+++ b/lisp/ChangeLog    2011-01-22 03:53:06 +0000
@@ -1,3 +1,7 @@
+2011-01-22  Chong Yidong  <address@hidden>
+
+       * man.el (Man-highlight-references0): Use make-button (Bug#7881).
+
 2011-01-22  Phil Hagelberg  <address@hidden>
 
        * pcmpl-unix.el (pcmpl-ssh-config-file): New option.

=== modified file 'lisp/man.el'
--- a/lisp/man.el       2011-01-15 23:16:57 +0000
+++ b/lisp/man.el       2011-01-22 03:53:06 +0000
@@ -1154,7 +1154,9 @@
                 (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


reply via email to

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