aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/find-func.el
diff options
context:
space:
mode:
authorNick Roberts <[email protected]>2006-07-22 22:51:11 +0000
committerNick Roberts <[email protected]>2006-07-22 22:51:11 +0000
commit7358462606bab3c5c33dccc133770955bc68bc90 (patch)
tree88e2cf51bca17af248aadb92f6c438cff0b1ebd3 /lisp/emacs-lisp/find-func.el
parent52c13c9b68ba0d47c5ad8e26694bb65dcf075b96 (diff)
(find-function-search-for-symbol): Handle "C-h f `".
Diffstat (limited to 'lisp/emacs-lisp/find-func.el')
-rw-r--r--lisp/emacs-lisp/find-func.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index 41c940f1ce..fc79da2a91 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -226,7 +226,9 @@ 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)
- (regexp-quote (symbol-name symbol))))
+ ;; Catch ` (backquote) macro.
+ (concat "\\\\?"
+ (regexp-quote (symbol-name symbol)))))
(case-fold-search))
(with-syntax-table emacs-lisp-mode-syntax-table
(goto-char (point-min))