From: Juanma Barranquero Date: Mon, 27 Nov 2006 13:50:42 +0000 (+0000) Subject: (font-lock-mode): "?\ " -> "?\s". X-Git-Tag: emacs-pretest-22.0.92~474 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5a4689d9323731d7810155795ef1d29d12801a95;p=emacs.git (font-lock-mode): "?\ " -> "?\s". --- diff --git a/lisp/font-core.el b/lisp/font-core.el index 85bbf60f0d9..6a3f2b7698f 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el @@ -149,7 +149,7 @@ your own function which is called when `font-lock-mode' is toggled via nil nil nil ;; Don't turn on Font Lock mode if we don't have a display (we're running a ;; batch job) or if the buffer is invisible (the name starts with a space). - (when (or noninteractive (eq (aref (buffer-name) 0) ?\ )) + (when (or noninteractive (eq (aref (buffer-name) 0) ?\s)) (setq font-lock-mode nil)) (funcall font-lock-function font-lock-mode) ;; Arrange to unfontify this buffer if we change major mode later.