(find-function-search-for-symbol): Expand comment.

This commit is contained in:
Nick Roberts 2006-07-23 21:21:29 +00:00
parent faad80bfe0
commit 35b6eb23c6

View file

@ -226,7 +226,10 @@ The search is done in the source for library LIBRARY."
(regexp-symbol (cdr (assq type find-function-regexp-alist))))
(with-current-buffer (find-file-noselect filename)
(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 "\\\\?"
(regexp-quote (symbol-name symbol)))))
(case-fold-search))