+2003-03-19 Simon Marshall <simon@gnu.org>
+
+ * progmodes/make-mode.el (makefile-font-lock-syntactic-keywords):
+ New variable.
+ (makefile-mode): Use it for value of font-lock-syntactic-keywords.
+
2003-03-19 John Paul Wallington <jpw@gnu.org>
* cus-theme.el (custom-theme-create): Add autoload cookie.
-2003-03-19 Kenichi Handa <handa@etlken2>
+2003-03-19 Kenichi Handa <handa@m17n.org>
* dired.el (dired-get-filename): Pay attention to the case that
`read' returns a unibyte string. Don't encode the file name by
;; 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)
;; 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))
+ '(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)