diff options
| -rw-r--r-- | lisp/progmodes/compile.el | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 61af8e2a4ef..0c299e5678c 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -382,8 +382,11 @@ you may also want to change `compilation-page-delimiter'.") | |||
| 382 | ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:" | 382 | ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:" |
| 383 | (1 font-lock-function-name-face) (3 compilation-line-face nil t)) | 383 | (1 font-lock-function-name-face) (3 compilation-line-face nil t)) |
| 384 | (" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1) | 384 | (" --?o\\(?:utfile\\|utput\\)?[= ]?\\(\\S +\\)" . 1) |
| 385 | ("^Compilation \\(finish\\|start\\)ed" . compilation-info-face) | 385 | ("^Compilation \\(finished\\)" |
| 386 | ("^Compilation exited abnormally" . compilation-error-face)) | 386 | (1 compilation-info-face)) |
| 387 | ("^Compilation \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?" | ||
| 388 | (1 compilation-error-face) | ||
| 389 | (2 compilation-error-face nil t))) | ||
| 387 | "Additional things to highlight in Compilation mode. | 390 | "Additional things to highlight in Compilation mode. |
| 388 | This gets tacked on the end of the generated expressions.") | 391 | This gets tacked on the end of the generated expressions.") |
| 389 | 392 | ||
| @@ -971,9 +974,9 @@ Returns the compilation buffer created." | |||
| 971 | (insert "-*- mode: " name-of-mode | 974 | (insert "-*- mode: " name-of-mode |
| 972 | "; default-directory: " (prin1-to-string default-directory) | 975 | "; default-directory: " (prin1-to-string default-directory) |
| 973 | " -*-\n" | 976 | " -*-\n" |
| 974 | (format "%s started at %s\n" | 977 | (format "%s started at %s\n\n" |
| 975 | (capitalize name-of-mode) | 978 | mode-name |
| 976 | (format-time-string "%a %b %d %H:%M:%S")) | 979 | (substring (current-time-string) 0 19)) |
| 977 | command "\n") | 980 | command "\n") |
| 978 | (setq thisdir default-directory)) | 981 | (setq thisdir default-directory)) |
| 979 | (set-buffer-modified-p nil)) | 982 | (set-buffer-modified-p nil)) |
| @@ -1160,7 +1163,7 @@ exited abnormally with code %d\n" | |||
| 1160 | (define-key map [menu-bar compilation compilation-separator2] | 1163 | (define-key map [menu-bar compilation compilation-separator2] |
| 1161 | '("----" . nil)) | 1164 | '("----" . nil)) |
| 1162 | (define-key map [menu-bar compilation compilation-grep] | 1165 | (define-key map [menu-bar compilation compilation-grep] |
| 1163 | '("Search Files (grep)" . grep)) | 1166 | '("Search Files (grep)..." . grep)) |
| 1164 | (define-key map [menu-bar compilation compilation-recompile] | 1167 | (define-key map [menu-bar compilation compilation-recompile] |
| 1165 | '("Recompile" . recompile)) | 1168 | '("Recompile" . recompile)) |
| 1166 | (define-key map [menu-bar compilation compilation-compile] | 1169 | (define-key map [menu-bar compilation compilation-compile] |