comparison lisp/progmodes/pascal.el @ 9479:ef7c2b4dfee4

* pascal.el: (pascal-mode): Set font-lock-defaults.
author Simon Marshall <simon@gnu.org>
date Wed, 12 Oct 1994 09:02:43 +0000
parents ccd27c6ef48d
children 034609a036b1
comparison
equal deleted inserted replaced
9478:a8077b802b9e 9479:ef7c2b4dfee4
320 (setq case-fold-search t) 320 (setq case-fold-search t)
321 (make-local-variable 'comment-start-skip) 321 (make-local-variable 'comment-start-skip)
322 (setq comment-start-skip "(\\*+ *\\|{ *") 322 (setq comment-start-skip "(\\*+ *\\|{ *")
323 (make-local-variable 'comment-end) 323 (make-local-variable 'comment-end)
324 (setq comment-end "}") 324 (setq comment-end "}")
325 (make-local-variable 'font-lock-keywords) 325 (make-local-variable 'font-lock-defaults)
326 (setq font-lock-keywords pascal-font-lock-keywords) 326 (setq font-lock-defaults '(pascal-font-lock-keywords nil t))
327 (run-hooks 'pascal-mode-hook)) 327 (run-hooks 'pascal-mode-hook))
328 328
329 329
330 330
331 ;;; 331 ;;;