(find-function-search-for-symbol): Fix regexp so the defined var/fun doesn't

need to be quoted.
This commit is contained in:
Stefan Monnier 2006-04-10 18:45:34 +00:00
parent c9fdebdf3a
commit 2b690e5b35
2 changed files with 19 additions and 18 deletions

View file

@ -1,3 +1,8 @@
2006-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/find-func.el (find-function-search-for-symbol): Fix regexp
so the defined var/fun doesn't need to be quoted.
2006-04-10 Richard Stallman <rms@gnu.org> 2006-04-10 Richard Stallman <rms@gnu.org>
* finder.el (finder-mode-map): Add n and p bindings. * finder.el (finder-mode-map): Add n and p bindings.
@ -108,12 +113,11 @@
(rcirc-multiline-minor-mode-map): New mode map. (rcirc-multiline-minor-mode-map): New mode map.
(rcirc-edit-multiline): Put multiline-edit buffer in (rcirc-edit-multiline): Put multiline-edit buffer in
rcirc-multiline-major-mode along with rcirc-multiline-minor-mode. rcirc-multiline-major-mode along with rcirc-multiline-minor-mode.
(rcirc-print): Any line starting with an ignored nick will be (rcirc-print): Ignore any line starting with an ignored nick.
ignored.
(rcirc-print): Decode using rcirc-decode-coding-system. (rcirc-print): Decode using rcirc-decode-coding-system.
(rcirc-track-minor-mode): Update global-mode-string when disabling (rcirc-track-minor-mode): Update global-mode-string when disabling
this mode. this mode.
(minor-mode-alist): add LowPri indicator. (minor-mode-alist): Add LowPri indicator.
(rcirc-toggle-low-priority): New function. (rcirc-toggle-low-priority): New function.
(rcirc-last-non-irc-buffer): Prefix arg now no means switch to (rcirc-last-non-irc-buffer): Prefix arg now no means switch to
next lowpriority buffer with activity. next lowpriority buffer with activity.
@ -146,8 +150,7 @@
2006-04-07 Reiner Steib <Reiner.Steib@gmx.de> 2006-04-07 Reiner Steib <Reiner.Steib@gmx.de>
* pgg-gpg.el: Revert to revision 1.8 to allow the use of * pgg-gpg.el: Revert to revision 1.8 to allow the use of gpg-agent.
gpg-agent.
2006-04-07 Nick Roberts <nickrob@snap.net.nz> 2006-04-07 Nick Roberts <nickrob@snap.net.nz>
@ -160,21 +163,20 @@
* textmodes/paragraphs.el (sentence-end): Use string-or-null-p. * textmodes/paragraphs.el (sentence-end): Use string-or-null-p.
* textmodes/ispell.el (ispell-local-dictionary): Use * textmodes/ispell.el (ispell-local-dictionary): Use string-or-null-p.
string-or-null-p.
* files.el: Update comment about safe-local-variable declarations. * files.el: Update comment about safe-local-variable declarations.
2006-04-06 J.D. Smith <jdsmith@as.arizona.edu> 2006-04-06 J.D. Smith <jdsmith@as.arizona.edu>
* progmodes/idlwave.el: Updated to IDLWAVE version 6.0. See * progmodes/idlwave.el: Updated to IDLWAVE version 6.0.
idlwave.org. See idlwave.org.
* progmodes/idlw-shell.el: Updated to IDLWAVE version 6.0. See * progmodes/idlw-shell.el: Updated to IDLWAVE version 6.0.
idlwave.org. Includes code to obsolete idlw-rinfo.el. See idlwave.org. Includes code to obsolete idlw-rinfo.el.
* progmodes/idlw-help.el: Updated to IDLWAVE version 6.0. See * progmodes/idlw-help.el: Updated to IDLWAVE version 6.0.
idlwave.org. See idlwave.org.
* progmodes/idlw-complete-structtag.el: Updated to IDLWAVE * progmodes/idlw-complete-structtag.el: Updated to IDLWAVE
version 6.0 (minimal changes). See idlwave.org. version 6.0 (minimal changes). See idlwave.org.
@ -245,8 +247,8 @@
2006-04-05 Daiki Ueno <ueno@unixuser.org> 2006-04-05 Daiki Ueno <ueno@unixuser.org>
* pgg-gpg.el (pgg-gpg-encrypt-region, pgg-gpg-sign-region): Wait * pgg-gpg.el (pgg-gpg-encrypt-region, pgg-gpg-sign-region):
for BEGIN_SIGNING too, new in GnuPG 1.4.3. Wait for BEGIN_SIGNING too, new in GnuPG 1.4.3.
2006-04-05 Kenichi Handa <handa@m17n.org> 2006-04-05 Kenichi Handa <handa@m17n.org>
@ -259,8 +261,7 @@
default-enable-multibyte-characters. This reverts the change from default-enable-multibyte-characters. This reverts the change from
revision 6.17 which is no longer necessary because the passphrase revision 6.17 which is no longer necessary because the passphrase
is sent separately now. GnuPG messages are unreadable under is sent separately now. GnuPG messages are unreadable under
multibyte locales with default-enable-multibyte-characters set to multibyte locales with default-enable-multibyte-characters set to nil.
nil.
2006-04-04 Andreas Schwab <schwab@suse.de> 2006-04-04 Andreas Schwab <schwab@suse.de>

View file

@ -229,7 +229,7 @@ The search is done in the source for library LIBRARY."
(goto-char (point-min)) (goto-char (point-min))
(if (or (re-search-forward regexp nil t) (if (or (re-search-forward regexp nil t)
(re-search-forward (re-search-forward
(concat "^([^ ]+" find-function-space-re "['(]" (concat "^([^ ]+" find-function-space-re "['(]?"
(regexp-quote (symbol-name symbol)) (regexp-quote (symbol-name symbol))
"\\_>") "\\_>")
nil t)) nil t))