diff options
| author | Nick Roberts | 2006-07-23 21:21:29 +0000 |
|---|---|---|
| committer | Nick Roberts | 2006-07-23 21:21:29 +0000 |
| commit | 35b6eb23c6ec6a7f4cc20743b396549978a3d696 (patch) | |
| tree | 59ed00cbe1b7375b8bcc5f67e7acaae3f2601da0 | |
| parent | faad80bfe0d719a2d987a09936bb7e0a6f0b3f11 (diff) | |
| download | emacs-35b6eb23c6ec6a7f4cc20743b396549978a3d696.tar.gz emacs-35b6eb23c6ec6a7f4cc20743b396549978a3d696.zip | |
(find-function-search-for-symbol): Expand comment.
| -rw-r--r-- | lisp/emacs-lisp/find-func.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el index fc79da2a914..50b7d8dc9ef 100644 --- a/lisp/emacs-lisp/find-func.el +++ b/lisp/emacs-lisp/find-func.el | |||
| @@ -226,7 +226,10 @@ The search is done in the source for library LIBRARY." | |||
| 226 | (regexp-symbol (cdr (assq type find-function-regexp-alist)))) | 226 | (regexp-symbol (cdr (assq type find-function-regexp-alist)))) |
| 227 | (with-current-buffer (find-file-noselect filename) | 227 | (with-current-buffer (find-file-noselect filename) |
| 228 | (let ((regexp (format (symbol-value regexp-symbol) | 228 | (let ((regexp (format (symbol-value regexp-symbol) |
| 229 | ;; Catch ` (backquote) macro. | 229 | ;; Entry for ` (backquote) macro in loaddefs.el, |
| 230 | ;; (defalias (quote \`)..., has a \ but | ||
| 231 | ;; (symbol-name symbol) doesn't. Add an | ||
| 232 | ;; optional \ to catch this. | ||
| 230 | (concat "\\\\?" | 233 | (concat "\\\\?" |
| 231 | (regexp-quote (symbol-name symbol))))) | 234 | (regexp-quote (symbol-name symbol))))) |
| 232 | (case-fold-search)) | 235 | (case-fold-search)) |