]> git.eshelyaron.com Git - emacs.git/commitdiff
(find-function-search-for-symbol): Expand comment.
authorNick Roberts <nickrob@snap.net.nz>
Sun, 23 Jul 2006 21:21:29 +0000 (21:21 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Sun, 23 Jul 2006 21:21:29 +0000 (21:21 +0000)
lisp/emacs-lisp/find-func.el

index fc79da2a914f96be2455c78f2bbd2f01473ea59d..50b7d8dc9ef0001089fa8b74a103cc987e5c51c4 100644 (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))