emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/make-mode.el
Date: Wed, 19 Mar 2003 17:23:20 -0500

Index: emacs/lisp/progmodes/make-mode.el
diff -c emacs/lisp/progmodes/make-mode.el:1.82 
emacs/lisp/progmodes/make-mode.el:1.83
*** emacs/lisp/progmodes/make-mode.el:1.82      Mon Feb 24 18:49:27 2003
--- emacs/lisp/progmodes/make-mode.el   Wed Mar 19 17:23:20 2003
***************
*** 300,305 ****
--- 300,310 ----
     ;; They can make a tab fail to be effective.
     '("^\\( +\\)\t" 1 makefile-space-face)))
  
+ (defconst makefile-font-lock-syntactic-keywords
+   (list
+    ;; Change the syntax of a quoted newline so that it does not end a comment.
+    '("\\\\\n" 0 " ")))
+ 
  (defvar makefile-imenu-generic-expression
    (list
     (list "Dependencies" makefile-dependency-regex  1)
***************
*** 588,594 ****
        ;; SYNTAX-BEGIN set to backward-paragraph to avoid slow-down
        ;; near the end of a large buffer, due to parse-partial-sexp's
        ;; trying to parse all the way till the beginning of buffer.
!         '(makefile-font-lock-keywords nil nil ((?$ . ".")) 
backward-paragraph))
  
    ;; Add-log.
    (make-local-variable 'add-log-current-defun-function)
--- 593,603 ----
        ;; SYNTAX-BEGIN set to backward-paragraph to avoid slow-down
        ;; near the end of a large buffer, due to parse-partial-sexp's
        ;; trying to parse all the way till the beginning of buffer.
!       '(makefile-font-lock-keywords
!         nil nil
!         ((?$ . "."))
!         backward-paragraph
!         (font-lock-syntactic-keywords . 
makefile-font-lock-syntactic-keywords)))
  
    ;; Add-log.
    (make-local-variable 'add-log-current-defun-function)




reply via email to

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