aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2011-01-21 22:53:06 -0500
committerChong Yidong2011-01-21 22:53:06 -0500
commitcde7e38b6bccaf8a6316025262d640a8ed18ea8f (patch)
treeeeeb4cbf1cd1a465f4e42ee2b529083b5fd9e1cc
parent9ba41eb9d96a25ce341884d44084508a5df1015d (diff)
downloademacs-cde7e38b6bccaf8a6316025262d640a8ed18ea8f.tar.gz
emacs-cde7e38b6bccaf8a6316025262d640a8ed18ea8f.zip
* man.el (Man-highlight-references0): Use make-button (Bug#7881).
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/man.el4
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 22fee77f584..b600537c9a1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-01-22 Chong Yidong <cyd@stupidchicken.com>
2
3 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
4
12011-01-22 Phil Hagelberg <phil@evri.com> 52011-01-22 Phil Hagelberg <phil@evri.com>
2 6
3 * pcmpl-unix.el (pcmpl-ssh-config-file): New option. 7 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
diff --git a/lisp/man.el b/lisp/man.el
index d22ea9cebb6..98257e62bfc 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -1154,7 +1154,9 @@ default type, `Man-xref-man-page' is used for the buttons."
1154 (goto-char (point-min)) 1154 (goto-char (point-min))
1155 nil))) 1155 nil)))
1156 (while (re-search-forward regexp end t) 1156 (while (re-search-forward regexp end t)
1157 (make-text-button 1157 ;; An overlay button is preferable because the underlying text
1158 ;; may have text property highlights (Bug#7881).
1159 (make-button
1158 (match-beginning button-pos) 1160 (match-beginning button-pos)
1159 (match-end button-pos) 1161 (match-end button-pos)
1160 'type type 1162 'type type