summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2004-11-06 11:28:42 +0000
committerEli Zaretskii <eliz@gnu.org>2004-11-06 11:28:42 +0000
commit16d24ae8cfd08d570201479cb2f3b43ab8d674d4 (patch)
treee885da99ff356f5aceddc1888fffa004af54724b
parent242399cd0380fc0ddafd7853a08336d0982e8401 (diff)
downloademacs-16d24ae8cfd08d570201479cb2f3b43ab8d674d4.tar.gz
(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 @@
+2004-11-06 David Hansen <david.hansen@gmx.net> (tiny change)
+
+ * tempo.el (tempo-match-finder): Use [:word:] instead of "^\\b",
+ to solve a bug whereby tags with 'b' don't match.
+
2004-11-05 Juri Linkov <juri@jurta.org>
* 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.
(defvar tempo-marks nil
"A list of marks to jump to with `\\[tempo-forward-mark]' and `\\[tempo-backward-mark]'.")
-(defvar tempo-match-finder "\\b\\([^\\b]+\\)\\="
+(defvar tempo-match-finder "\\b\\([[:word:]]+\\)\\="
"The regexp or function used to find the string to match against tags.
If `tempo-match-finder is a string, it should contain a regular