From 5a4689d9323731d7810155795ef1d29d12801a95 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 27 Nov 2006 13:50:42 +0000 Subject: [PATCH] (font-lock-mode): "?\ " -> "?\s". --- lisp/font-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.2