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
2346238d
Commit
2346238d
authored
Jan 24, 1996
by
Richard M. Stallman
Browse files
(turn-on-font-lock): Test window-system.
parent
d1e74921
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/font-lock.el
lisp/font-lock.el
+3
-2
No files found.
lisp/font-lock.el
View file @
2346238d
...
...
@@ -411,8 +411,9 @@ syntactic change on other lines, you can use \\[font-lock-fontify-window]."
;;;###autoload
(
defun
turn-on-font-lock
()
"Unconditionally turn on Font Lock mode."
(
font-lock-mode
1
))
"Turn on Font Lock mode, if the terminal can display it."
(
if
window-system
(
font-lock-mode
1
)))
;;;###autoload
(
defun
font-lock-fontify-buffer
()
...
...
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