Mercurial > emacs
changeset 75979:9e18371d4dff
(info-lookup): Bind Info-fontify-maximum-menu-size to nil to speed up lookup
of the symbol in index nodes.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 17 Feb 2007 12:00:16 +0000 |
parents | 28302e9da5da |
children | 3e576a251b39 |
files | lisp/info-look.el |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/info-look.el Sat Feb 17 11:35:22 2007 +0000 +++ b/lisp/info-look.el Sat Feb 17 12:00:16 2007 +0000 @@ -353,8 +353,11 @@ suffix (nth 3 (car doc-spec))) (when (condition-case error-data (progn - (Info-goto-node node) - (setq doc-found t)) + ;; Don't need Index menu fontifications here, and + ;; they slow down the lookup. + (let (Info-fontify-maximum-menu-size) + (Info-goto-node node) + (setq doc-found t))) (error (message "Cannot access Info node %s" node) (sit-for 1)