Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
34a0a4ee
Commit
34a0a4ee
authored
Jul 11, 1994
by
Richard M. Stallman
Browse files
(Info-fontify-maximum-menu-size): New variable.
(Info-fontify-node): Use that variable.
parent
f1d238ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/info.el
lisp/info.el
+3
-1
No files found.
lisp/info.el
View file @
34a0a4ee
...
...
@@ -50,6 +50,8 @@ in paths.el.")
(
defvar
Info-fontify
t
"*Non-nil enables highlighting and fonts in Info nodes."
)
(
defvar
Info-fontify-maximum-menu-size
30000
"*Maximum size of menu to fontify if `Info-fontify' is non-nil."
)
(
defvar
Info-directory-list
(
let
((
path
(
getenv
"INFOPATH"
))
(
sep
(
if
(
eq
system-type
'ms-dos
)
";"
":"
))
...
...
@@ -1611,7 +1613,7 @@ The command is found by looking up in Emacs manual's Command Index."
(
if
(
and
(
search-forward
"\n* Menu:"
nil
t
)
(
not
(
string-match
"\\<Index\\>"
Info-current-node
))
;; Don't take time to annotate huge menus
(
<
(
-
(
point-max
)
(
point
))
30000
))
(
<
(
-
(
point-max
)
(
point
))
Info-fontify-maximum-menu-size
))
(
let
((
n
0
))
(
while
(
re-search-forward
"^\\* \\([^:\t\n]*\\):"
nil
t
)
(
setq
n
(
1+
n
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment