/[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.92 by pfeiffer, Tue May 17 20:44:18 2005 UTC revision 1.93 by pfeiffer, Tue May 17 21:36:49 2005 UTC
# Line 273  not be enclosed in { } or ( )." Line 273  not be enclosed in { } or ( )."
273  ;; that if you change this regexp you might have to fix the imenu index in  ;; that if you change this regexp you might have to fix the imenu index in
274  ;; makefile-imenu-generic-expression.  ;; makefile-imenu-generic-expression.
275  (defconst makefile-macroassign-regex  (defconst makefile-macroassign-regex
276    "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\|[*:+]?[:?]?=\\)"    "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\|[*:+]?[:?]?=[ \t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\)"
277    "Regex used to find macro assignment lines in a makefile.")    "Regex used to find macro assignment lines in a makefile.")
278    
279  (defconst makefile-var-use-regex  (defconst makefile-var-use-regex
# Line 331  not be enclosed in { } or ( )." Line 331  not be enclosed in { } or ( )."
331      (,makefile-macroassign-regex      (,makefile-macroassign-regex
332       (1 font-lock-variable-name-face)       (1 font-lock-variable-name-face)
333       ;; This is for after !=       ;; This is for after !=
334       (2 'makefile-shell-face prepend t))       (2 'makefile-shell-face prepend t)
335         ;; This is for after normal assignment
336         (3 'font-lock-string-face prepend t))
337    
338      ;; Rule actions.      ;; Rule actions.
339      (makefile-match-action      (makefile-match-action
# Line 787  Makefile mode can be configured by modif Line 789  Makefile mode can be configured by modif
789            nil nil            nil nil
790            ((?$ . "."))            ((?$ . "."))
791            backward-paragraph            backward-paragraph
792            (font-lock-syntactic-keywords . makefile-font-lock-syntactic-keywords)))            (font-lock-syntactic-keywords . makefile-font-lock-syntactic-keywords)
793              (font-lock-support-mode)))    ; JIT breaks on long series of continuation lines.
794    
795    ;; Add-log.    ;; Add-log.
796    (make-local-variable 'add-log-current-defun-function)    (make-local-variable 'add-log-current-defun-function)

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93

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