aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2004-11-06 11:28:42 +0000
committerEli Zaretskii2004-11-06 11:28:42 +0000
commit16d24ae8cfd08d570201479cb2f3b43ab8d674d4 (patch)
treee885da99ff356f5aceddc1888fffa004af54724b
parent242399cd0380fc0ddafd7853a08336d0982e8401 (diff)
downloademacs-16d24ae8cfd08d570201479cb2f3b43ab8d674d4.tar.gz
emacs-16d24ae8cfd08d570201479cb2f3b43ab8d674d4.zip
(tempo-match-finder): Use [:word:] instead of "^\\b",
to solve a bug whereby tags with 'b' don't match.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/tempo.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8e55dcd6270..f3b2b82da1e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12004-11-06 David Hansen <david.hansen@gmx.net> (tiny change)
2
3 * tempo.el (tempo-match-finder): Use [:word:] instead of "^\\b",
4 to solve a bug whereby tags with 'b' don't match.
5
12004-11-05 Juri Linkov <juri@jurta.org> 62004-11-05 Juri Linkov <juri@jurta.org>
2 7
3 * info.el (Info-search): Don't search in node header lines 8 * info.el (Info-search): Don't search in node header lines
diff --git a/lisp/tempo.el b/lisp/tempo.el
index 3ceb3e271f4..16b43d72430 100644
--- a/lisp/tempo.el
+++ b/lisp/tempo.el
@@ -172,7 +172,7 @@ documentation for the function `tempo-complete-tag' for more info.
172(defvar tempo-marks nil 172(defvar tempo-marks nil
173 "A list of marks to jump to with `\\[tempo-forward-mark]' and `\\[tempo-backward-mark]'.") 173 "A list of marks to jump to with `\\[tempo-forward-mark]' and `\\[tempo-backward-mark]'.")
174 174
175(defvar tempo-match-finder "\\b\\([^\\b]+\\)\\=" 175(defvar tempo-match-finder "\\b\\([[:word:]]+\\)\\="
176 "The regexp or function used to find the string to match against tags. 176 "The regexp or function used to find the string to match against tags.
177 177
178If `tempo-match-finder is a string, it should contain a regular 178If `tempo-match-finder is a string, it should contain a regular