(makefile-font-lock-syntactic-keywords): New variable.
(makefile-mode): Use it for value of font-lock-syntactic-keywords.
This commit is contained in:
parent
87e391a986
commit
0b51ba8a5a
2 changed files with 17 additions and 2 deletions
|
@ -1,8 +1,14 @@
|
|||
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
|
||||
|
|
|
@ -300,6 +300,11 @@ not be enclosed in { } or ( )."
|
|||
;; 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,7 +593,11 @@ Makefile mode can be configured by modifying the following variables:
|
|||
;; 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)
|
||||
|
|
Loading…
Add table
Reference in a new issue