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
fcc6fa51
Commit
fcc6fa51
authored
Jun 13, 2002
by
Miles Bader
Browse files
(comint-mode): Don't set `font-lock-defaults'.
(comint-mode-hook): Turn on font-lock by default.
parent
76bc6ee3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/comint.el
lisp/comint.el
+1
-3
No files found.
lisp/ChangeLog
View file @
fcc6fa51
2002-06-13 Miles Bader <miles@gnu.org>
* comint.el (comint-mode): Don't set `font-lock-defaults'.
(comint-mode-hook): Turn on font-lock by default.
2002-06-12 Karl Fogel <kfogel@red-bean.com>
* bookmark.el (bookmark-file-or-variation-thereof): Restore
...
...
lisp/comint.el
View file @
fcc6fa51
...
...
@@ -384,7 +384,7 @@ field boundaries in a natural way)."
:type 'boolean
:group 'comint)
(defcustom comint-mode-hook '()
(defcustom comint-mode-hook '(
turn-on-font-lock
)
"Called upon entry into `comint-mode'
This is run before the process is cranked up."
:type 'hook
...
...
@@ -507,8 +507,6 @@ Entry to this mode runs the hooks on `comint-mode-hook'."
(make-local-variable 'comint-file-name-chars)
(make-local-variable 'comint-file-name-quote-list)
(set (make-local-variable 'comint-accum-marker) (make-marker))
(set (make-local-variable 'font-lock-defaults)
'(nil t nil nil nil (font-lock-core-only . t)))
;; This behavior is not useful in comint buffers, and is annoying
(set (make-local-variable 'next-line-add-newlines) nil))
...
...
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