mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 15:21:51 -08:00
(find-function-search-for-symbol): Expand comment.
This commit is contained in:
parent
faad80bfe0
commit
35b6eb23c6
1 changed files with 4 additions and 1 deletions
|
|
@ -226,7 +226,10 @@ The search is done in the source for library LIBRARY."
|
||||||
(regexp-symbol (cdr (assq type find-function-regexp-alist))))
|
(regexp-symbol (cdr (assq type find-function-regexp-alist))))
|
||||||
(with-current-buffer (find-file-noselect filename)
|
(with-current-buffer (find-file-noselect filename)
|
||||||
(let ((regexp (format (symbol-value regexp-symbol)
|
(let ((regexp (format (symbol-value regexp-symbol)
|
||||||
;; Catch ` (backquote) macro.
|
;; Entry for ` (backquote) macro in loaddefs.el,
|
||||||
|
;; (defalias (quote \`)..., has a \ but
|
||||||
|
;; (symbol-name symbol) doesn't. Add an
|
||||||
|
;; optional \ to catch this.
|
||||||
(concat "\\\\?"
|
(concat "\\\\?"
|
||||||
(regexp-quote (symbol-name symbol)))))
|
(regexp-quote (symbol-name symbol)))))
|
||||||
(case-fold-search))
|
(case-fold-search))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue