| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
(makefile-menu-index-function): Function deleted.
(makefile-mode): Use makefile-imenu-generic-expression.
|
| | |
|
| |
|
|
| |
(makefile-dependency-regex): Don't be fooled by colons in deps.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(makefile-mode): Doc fix.
|
| |
|
|
|
| |
(makefile-define-space-face): Function deleted.
(makefile-mode): Don't call makefile-define-space-font.
|
| |
|
|
| |
Doc fixes.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
(makefile-backslash-region): Re-imported from cc-mode; modified to
handle makefile-backslash-align.
(makefile-append-backslash, makefile-delete-backslash):
Re-imported from cc-mode.
(makefile-backslashify-current-line): Function deleted.
(makefile-fill-paragraph): New function.
(makefile-mode-map): Bind C-c C-c to comment-region.
(makefile-mode): Set fill-paragraph to makefile-fill-paragraph.
|
| |
|
|
|
|
| |
so that "flags=-o:1" is treated as an assignment, not a dependency.
(makefile-dependency-regex, makefile-macroassign-regex): Disallow
spaces in symbol name.
|
| |
|
|
|
|
| |
first and variable references after.
(makefile-dependency-regex, makefile-macroassign-regex):
Accept spaces at the beginning of the line.
|
| |
|
|
| |
variable names.
|
| |
|
|
| |
references that use substitutions.
|
| | |
|
| | |
|
| |
|
|
| |
of variable references inside other highlighted regions.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
facemenu-unlisted-faces if it isn't bound.
|
| |
|
|
| |
makefile-backslash-region): Doc fix.
|
| |
|
|
| |
checking one line at a time. Notice blank lines and comments.
|
| |
|
|
|
|
|
|
| |
for the "^\t+#" element.
Add faces to menu only if window-system.
(makefile-mode): Do not check if makefile-define-space-face is
defined. Call it only if window-system.
|
| | |
|
| |
|
|
|
| |
(makefile-define-space-face): Create the face unconditionally;
alter it only if have X.
|
| | |
|
| | |
|
| |
|
|
| |
tab followed by #, and initial spaces preceding tabs--not all initial spaces.
|
| | |
|
| | |
|
| |
|
|
| |
(makefile-font-lock-keywords): Highlight lines of just whitespace.
|
| |
|
|
|
|
|
| |
(makefile-define-space-face): New function.
(makefile-tab-face): Variable deleted.
(makefile-define-tab-face): Function deleted.
(makefile-font-lock-keywords): Highlight leading spaces, not tabs.
|
| |
|
|
|
| |
(makefile-tab-face): Don't create face here.
(makefile-mode): Call makefile-define-tab-face.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(makefile-macroassign-regex): Don't include space and tab in macro names.
(makefile-backslash-column): New variable.
(makefile-backslash-region): New function.
(makefile-backslashify-current-line): New function.
(makefile-mode-map): Bind C-c C-\ to makefile-backslash-region.
(makefile-tab-face): New variable.
(makefile-font-lock-keywords): Use makefile-tab-face.
(makefile-font-lock-keywords): Use defvar, not defconst.
|
| |
|
|
|
|
| |
strings, and `#' be a comment.
(makefile-font-lock-keywords): Add variable reference regexp.
(makefile-mode): Set font-lock-defaults.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(makefile-mode): Skip any number of "#"s at beginning of comments.
(makefile-electric-keys): New variable.
(makefile-electric-dot): Self insert if not at bol.
(makefile-electric-equal): Really self-insert if not at bol.
(makefile-pickup-everything): Prefix arg means force pickups to be
redone.
(makefile-insert-macro-ref): Don't use format.
(makefile-runtime-macros-list): Added "$" to list.
(makefile-insert-special-target): Don't use format.
(makefile-insert-macro): Don't use format.
(makefile-insert-target): Don't use format.
(makefile-insert-target-ref): Don't use format.
(makefile-electric-colon): Really self-insert if not at bol.
(makefile-complete): New function. Bound to M-TAB.
(makefile-do-macro-insertion): New function.
(makefile-mode-map): Add menu bar bindings.
(makefile-font-lock-keywords): New constant.
(makefile-mode): Deal with font-lock, add-log, imenu.
(makefile-macroassign-regex): Changed for use with font-lock.
(makefile-dependency-regex): Changed for use with font-lock.
(makefile-add-log-defun): New function.
(makefile-menu-index-function): New function.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Version 1.16.
(makefile-mode): Correct `make-variable-buffer-local' to
`make-local-variable'. Set indent-tabs-mode to t.
(makefile-insert-macro-ref): Do not append a space
to the inserted macro reference.
(makefile-insert-macro-ref): Likewise if the reference is to
one of makefile-runtime-macros-list.
(makefile-format-macro-ref): If the name of the macro ref
starts with a '(' or '{' then the enclosing parentheses are not added.
(makefile-warn-suspicious-lines): New function.
Changed mode name to "Makefile" instead of "makefile".
|
| |
|
|
| |
Bind inhibit-read-only; don't set buffer-read-only.
|
| |
|
|
| |
and comment-start-skip buffer-local.
|