comparison lisp/emacs-lisp/lisp-mode.el @ 37739:3584cfe3136a

(lisp-mode): Make font-lock-keywords-case-fold-search a buffer-local variable with make-local-variable before setting it.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 15 May 2001 11:52:10 +0000
parents a4403e99257a
children 908deaf5c7f5
comparison
equal deleted inserted replaced
37738:c04e66e2c50c 37739:3584cfe3136a
269 or to switch back to an existing one. 269 or to switch back to an existing one.
270 270
271 Entry to this mode calls the value of `lisp-mode-hook' 271 Entry to this mode calls the value of `lisp-mode-hook'
272 if that value is non-nil." 272 if that value is non-nil."
273 (lisp-mode-variables t) 273 (lisp-mode-variables t)
274 (make-local-variable 'font-lock-keywords-case-fold-search)
274 (setq font-lock-keywords-case-fold-search t) 275 (setq font-lock-keywords-case-fold-search t)
275 (setq imenu-case-fold-search t)) 276 (setq imenu-case-fold-search t))
276 277
277 ;; This will do unless inf-lisp.el is loaded. 278 ;; This will do unless inf-lisp.el is loaded.
278 (defun lisp-eval-defun (&optional and-go) 279 (defun lisp-eval-defun (&optional and-go)