+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
: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
(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))