[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/info.el,v
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/info.el,v |
Date: |
Sat, 10 Feb 2007 11:10:50 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Eli Zaretskii <eliz> 07/02/10 11:10:49
Index: info.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/info.el,v
retrieving revision 1.496
retrieving revision 1.497
diff -u -b -r1.496 -r1.497
--- info.el 21 Jan 2007 03:53:11 -0000 1.496
+++ info.el 10 Feb 2007 11:10:49 -0000 1.497
@@ -146,7 +146,8 @@
:group 'info)
(defcustom Info-fontify-maximum-menu-size 1000000
- "*Maximum size of menu to fontify if `font-lock-mode' is non-nil."
+ "*Maximum size of menu to fontify if `font-lock-mode' is non-nil.
+Set to nil to disable node fontification."
:type 'integer
:group 'info)
@@ -3705,6 +3706,7 @@
(fontify-visited-p ; visited nodes need to be re-fontified
(and Info-fontify-visited-nodes
;; Don't take time to refontify visited nodes in huge nodes
+ Info-fontify-maximum-menu-size
(< (- (point-max) (point-min))
Info-fontify-maximum-menu-size)))
rbeg rend)
@@ -3940,6 +3942,7 @@
(when (and (or not-fontified-p fontify-visited-p)
(search-forward "\n* Menu:" nil t)
;; Don't take time to annotate huge menus
+ Info-fontify-maximum-menu-size
(< (- (point-max) (point)) Info-fontify-maximum-menu-size))
(let ((n 0)
cont)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/info.el,v,
Eli Zaretskii <=