diff options
| author | Eli Zaretskii | 2007-02-17 12:03:01 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-02-17 12:03:01 +0000 |
| commit | e8d2103a83df75858aade088432fb16c2be9dcd9 (patch) | |
| tree | 1856bef054936b1709fe7bee2c80ca8379ed8126 | |
| parent | 8e1ac0634abc10422d0739b078a096e381447786 (diff) | |
| download | emacs-e8d2103a83df75858aade088432fb16c2be9dcd9.tar.gz emacs-e8d2103a83df75858aade088432fb16c2be9dcd9.zip | |
(info-lookup): Bind Info-fontify-maximum-menu-size to nil to speed up lookup
of the symbol in index nodes.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/info-look.el | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 234030a9a7b..0f7b528ba3c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-02-17 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * info-look.el (info-lookup): Bind Info-fontify-maximum-menu-size | ||
| 4 | to nil to speed up lookup of the symbol in index nodes. | ||
| 5 | |||
| 1 | 2007-02-17 Alin C. Soare <alinsoar@voila.fr> (tiny change) | 6 | 2007-02-17 Alin C. Soare <alinsoar@voila.fr> (tiny change) |
| 2 | 7 | ||
| 3 | * emacs-lisp/lisp-mode.el (calculate-lisp-indent): Added | 8 | * emacs-lisp/lisp-mode.el (calculate-lisp-indent): Added |
diff --git a/lisp/info-look.el b/lisp/info-look.el index 828fd3e6118..a4280e97c99 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el | |||
| @@ -353,8 +353,11 @@ If optional argument QUERY is non-nil, query for the help mode." | |||
| 353 | suffix (nth 3 (car doc-spec))) | 353 | suffix (nth 3 (car doc-spec))) |
| 354 | (when (condition-case error-data | 354 | (when (condition-case error-data |
| 355 | (progn | 355 | (progn |
| 356 | (Info-goto-node node) | 356 | ;; Don't need Index menu fontifications here, and |
| 357 | (setq doc-found t)) | 357 | ;; they slow down the lookup. |
| 358 | (let (Info-fontify-maximum-menu-size) | ||
| 359 | (Info-goto-node node) | ||
| 360 | (setq doc-found t))) | ||
| 358 | (error | 361 | (error |
| 359 | (message "Cannot access Info node %s" node) | 362 | (message "Cannot access Info node %s" node) |
| 360 | (sit-for 1) | 363 | (sit-for 1) |