1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-04 20:27:45 +00:00

81 Commits

Author SHA1 Message Date
Juanma Barranquero
d58ef8a6f3 (makefile-font-lock-keywords): Simplify last change. 2003-02-12 15:49:41 +00:00
Juanma Barranquero
61bc75ab6c (makefile-font-lock-keywords): Fontify single character variable references, but
protect shell variables references.
(makefile-mode): Make `$' be punctuation in font-lock-defaults.
2003-02-11 23:47:11 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Andreas Schwab
1ebc190a84 (makefile-font-lock-keywords): Highlight
automatic variable references enclosed in parens and optionally
suffixed by F or D.
2002-12-28 01:04:02 +00:00
Richard M. Stallman
d4fb162228 (makefile-font-lock-keywords): Highlight more make keywords:
defined, endef, override, export, unexport and vpath.
2002-12-02 16:16:52 +00:00
Markus Rost
a27b41aba3 (makefile-space-face): Fix typo in group name. 2002-11-17 22:37:11 +00:00
Miles Bader
5cc2d13754 (makefile-warn-continuations): Don't barf when there _aren't_ any
suspicious continuations.
2002-10-28 08:17:27 +00:00
Richard M. Stallman
a11e28000a (makefile-cleanup-continuations): Default for variable is nil.
(makefile-warn-continuations): New function.
(makefile-mode): Put it on write-file-functions.
2002-10-26 22:49:12 +00:00
Stefan Monnier
e006b3cd93 (makefile-cleanup-continuations-p): Rename to makefile-cleanup-continuations.
(makefile-mode): Use write-file-functions.
(makefile-fill-paragraph): Use match-string-no-properties.
(makefile-fill-paragraph): Use line-end-position.
(makefile-add-log-defun): Simplify.
2002-09-19 01:21:46 +00:00
Richard M. Stallman
bb5b7758d4 (makefile-fill-paragraph): Find comment boundaries before filling. 2002-09-18 16:00:29 +00:00
Stefan Monnier
0017329bca Move `provide' to the end. 2001-11-28 20:41:49 +00:00
Stefan Monnier
debe2de297 Use line-(end|beginning)-position.
(makefile-mode): Set indent-line-function.
(makefile-browser-insert-continuation): Use with-current-buffer.
(makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
2001-11-28 20:40:36 +00:00
Eli Zaretskii
21f7951223 (makefile-macroassign-regex): Recognize the ?= operator.
From Jonathan Kamens <jik@curl.com>.
2001-07-30 11:09:22 +00:00
Stefan Monnier
a7e34f7948 (makefile-browse): Use make-local-variable. 2001-07-16 01:52:50 +00:00
Stefan Monnier
1dc64fca5b (makefile-font-lock-keywords):
Rationalize the rules for includes and conditionals and use the
keyword face for them.
2001-04-25 15:52:45 +00:00
Eli Zaretskii
c7ca58df3b (makefile-mode): Set SYNTAX-BEGIN member
of `font-lock-defaults' to `backward-paragraph' rather than nil.
2001-02-06 17:10:29 +00:00
Gerd Moellmann
dd717ef272 (makefile-mode-abbrev-table): Remove
duplicate definition.
(makefile-mode): Remove duplicate setting of local-abbrev-table.
2000-07-26 13:02:53 +00:00
Stefan Monnier
363c962e61 (makefile-pickup-filenames-as-targets): Don't quote lambda. 2000-06-12 05:23:37 +00:00
Gerd Moellmann
ba080a3c56 (makefile-mode-abbrev-table): New variable.
(makefile-mode): Set local abbrev table to
makefile-mode-abbrev-table.
(makefile-font-lock-keywords): Fontify includes and conditionals.
2000-05-03 19:24:18 +00:00
Gerd Moellmann
9ffb4859b8 Some doc fixes.
(makefile-mode-abbrev-table): New variable.
(makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
(makefile-font-lock-keywords): Fontify includes and conditionals.
(toplevel): Require `dabbrev' and `add-log' when compiling.
2000-04-04 21:03:15 +00:00
Stefan Monnier
68049bfad7 (makefile-warn-suspicious-lines): clean
up the code and the regexp and make sure the cursor is temporarily
moved to the suspicious line while querying the user.
2000-03-23 02:39:58 +00:00
Dave Love
66c8215f1f (makefile-mode-hook): Customize. 1999-11-26 17:45:19 +00:00
Dave Love
a564ebfca1 Minor doc fixes. 1999-10-22 17:04:35 +00:00
Richard M. Stallman
3b7f63b13f Comment changes. 1999-02-07 04:07:14 +00:00
Richard M. Stallman
db85e69ca4 (makefile-imenu-generic-expression): New var.
(makefile-menu-index-function): Function deleted.
(makefile-mode): Use makefile-imenu-generic-expression.
1999-02-02 03:47:08 +00:00
Richard M. Stallman
6230363501 Whitespace fix. 1998-07-27 06:38:12 +00:00
Richard M. Stallman
39e7e36ac5 (makefile-font-lock-keywords): Recognize automatic variable references.
(makefile-dependency-regex): Don't be fooled by colons in deps.
1998-07-03 21:37:22 +00:00
Richard M. Stallman
5904765365 (makefile-browser-quit): Use quit-window. 1998-03-08 00:21:26 +00:00
Karl Heuer
9b3d0a18fa (make-mode): Provide make-mode, not makefile. 1998-02-27 22:11:43 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Richard M. Stallman
b20a44dc16 (makefile-pickup-everything-picks-up-filenames-p): Doc fix.
(makefile-mode): Doc fix.
1997-09-12 22:40:55 +00:00
Richard M. Stallman
dc3fc79718 (makefile-space-face): Add defface.
(makefile-define-space-face): Function deleted.
(makefile-mode): Don't call makefile-define-space-font.
1997-07-28 22:22:27 +00:00
Richard M. Stallman
c098c7f193 Customized.
Doc fixes.
1997-07-27 19:50:06 +00:00
Richard M. Stallman
4228277d98 Comment change. 1997-05-27 17:46:19 +00:00
Richard M. Stallman
dfa9e6fcb0 (makefile-backslash-align): New variable.
(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.
1997-03-24 05:30:10 +00:00
Karl Heuer
6e36fe0bad (makefile-dependency-regex): Disallow "=" in name,
so that "flags=-o:1" is treated as an assignment, not a dependency.
(makefile-dependency-regex, makefile-macroassign-regex): Disallow
spaces in symbol name.
1997-03-11 22:23:36 +00:00
Richard M. Stallman
984322b6ac (makefile-font-lock-keywords): Handle dependencies
first and variable references after.
(makefile-dependency-regex, makefile-macroassign-regex):
Accept spaces at the beginning of the line.
1996-11-03 20:38:56 +00:00
Karl Heuer
bf370e8cd5 (makefile-font-lock-keywords): Accept - and . in
variable names.
1996-10-25 04:34:53 +00:00
Richard M. Stallman
d6749f8f3d (makefile-font-lock-keywords): Catch variable
references that use substitutions.
1996-08-20 20:42:52 +00:00
Richard M. Stallman
e1775344cd (makefile-gnumake-functions-alist): Add `addprefix'. 1996-06-27 07:48:39 +00:00
Richard M. Stallman
1f35e35975 (makefile-runtime-macros-list): Add + to the list. 1996-02-26 19:33:15 +00:00
Richard M. Stallman
abdcf1fb2c (makefile-font-lock-keywords): Improve highlighting
of variable references inside other highlighted regions.
1996-01-26 19:30:42 +00:00
Richard M. Stallman
8d3a793498 (makefile-browser-toggle): Use delete-region, not kill-line. 1996-01-24 20:06:06 +00:00
Richard M. Stallman
c183f0dad4 (makefile-mode): Fix criterion for calling makefile-define-space-face. 1996-01-17 22:26:18 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
5f55e1592e (makefile-space-face): Don't work on
facemenu-unlisted-faces if it isn't bound.
1996-01-09 23:19:17 +00:00
Karl Heuer
ac282af805 (makefile-insert-special-target,
makefile-backslash-region): Doc fix.
1996-01-04 23:44:52 +00:00
Richard M. Stallman
32b558fad3 (makefile-add-log-defun): Rewrite to scan back
checking one line at a time.  Notice blank lines and comments.
1995-12-25 01:43:07 +00:00
Karl Heuer
34bb441e23 (makefile-font-lock-keywords): Fix bad structure
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.
1995-12-21 17:56:09 +00:00
Karl Heuer
f36e4a5ea9 (makefile-space-face): Don't list in facemenu. 1995-11-10 18:58:37 +00:00