/[emacs]/emacs/lisp/progmodes/make-mode.el
ViewVC logotype

Diff of /emacs/lisp/progmodes/make-mode.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.79 by lektu, Tue Feb 4 13:24:35 2003 UTC revision 1.80 by lektu, Tue Feb 11 23:45:21 2003 UTC
# Line 268  not be enclosed in { } or ( )." Line 268  not be enclosed in { } or ( )."
268     ;; Do dependencies.  These get the function name face.     ;; Do dependencies.  These get the function name face.
269     (list makefile-dependency-regex 1 'font-lock-function-name-face)     (list makefile-dependency-regex 1 'font-lock-function-name-face)
270    
271     ;; Variable references even in targets/strings/comments:     ;; Variable references even in targets/strings/comments.
272     '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend)     '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend)
273    
274     ;; Automatic variable references.     ;; Automatic variable references and single character variable references...
275     '("\\$\\([@%<?^+*]\\)" 1 font-lock-reference-face prepend)     '("\\$\\([@%<?^+*_]\\|[a-zA-Z0-9]\\>\\)" 1 font-lock-reference-face prepend)
276     '("\\$[({]\\([@%<?^+*][FD]?\\)[}):]" 1 font-lock-reference-face prepend)     '("\\$[({]\\([@%<?^+*][FD]?\\)[}):]" 1 font-lock-reference-face prepend)
277    
278       ;; ...but not shell variables references.
279       '("\\$\\$\\(\\sw+\\)" 1 'default t)
280    
281     ;; Fontify conditionals and includes.     ;; Fontify conditionals and includes.
282     ;; Note that plain `if' is an automake conditional, and not a bug.     ;; Note that plain `if' is an automake conditional, and not a bug.
283     (list     (list
# Line 586  Makefile mode can be configured by modif Line 589  Makefile mode can be configured by modif
589          ;; SYNTAX-BEGIN set to backward-paragraph to avoid slow-down          ;; SYNTAX-BEGIN set to backward-paragraph to avoid slow-down
590          ;; near the end of a large buffer, due to parse-partial-sexp's          ;; near the end of a large buffer, due to parse-partial-sexp's
591          ;; trying to parse all the way till the beginning of buffer.          ;; trying to parse all the way till the beginning of buffer.
592          '(makefile-font-lock-keywords nil nil nil backward-paragraph))          '(makefile-font-lock-keywords nil nil ((?$ . ".")) backward-paragraph))
593    
594    ;; Add-log.    ;; Add-log.
595    (make-local-variable 'add-log-current-defun-function)    (make-local-variable 'add-log-current-defun-function)

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26