From: Eli Zaretskii Date: Sat, 6 Nov 2004 11:28:42 +0000 (+0000) Subject: (tempo-match-finder): Use [:word:] instead of "^\\b", X-Git-Tag: ttn-vms-21-2-B4~4165 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=16d24ae8cfd08d570201479cb2f3b43ab8d674d4;p=emacs.git (tempo-match-finder): Use [:word:] instead of "^\\b", to solve a bug whereby tags with 'b' don't match. --- 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 (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 * 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