emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/lisp-mode.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/lisp-mode.el
Date: Sun, 15 May 2005 10:29:25 -0400

Index: emacs/lisp/emacs-lisp/lisp-mode.el
diff -c emacs/lisp/emacs-lisp/lisp-mode.el:1.174 
emacs/lisp/emacs-lisp/lisp-mode.el:1.175
*** emacs/lisp/emacs-lisp/lisp-mode.el:1.174    Thu Mar 24 09:21:30 2005
--- emacs/lisp/emacs-lisp/lisp-mode.el  Sun May 15 14:29:25 2005
***************
*** 192,197 ****
--- 192,200 ----
    ;; Look within the line for a ; following an even number of backslashes
    ;; after either a non-backslash or the line beginning.
    (setq comment-start-skip "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *")
+   (make-local-variable 'font-lock-comment-start-skip)
+   ;; Font lock mode uses this only when it KNOWS a comment is starting.
+   (setq font-lock-comment-start-skip ";+ *") 
    (make-local-variable 'comment-add)
    (setq comment-add 1)                        ;default to `;;' in 
comment-region
    (make-local-variable 'comment-column)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]