diff options
| author | Eric S. Raymond | 1992-06-11 02:31:08 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 1992-06-11 02:31:08 +0000 |
| commit | fad160d5e1f2c6860c20857434869ffc3f31fd72 (patch) | |
| tree | 72fa80e0f9e1af8baa0dcaf9298e5bd8150ee7f9 | |
| parent | 08b684de7c9be9351a6b957b6bbb804e3a441be2 (diff) | |
| download | emacs-fad160d5e1f2c6860c20857434869ffc3f31fd72.tar.gz emacs-fad160d5e1f2c6860c20857434869ffc3f31fd72.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/progmodes/compile.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 48e061c3481..a71ac512dd4 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | ;;; compile.el --- run compiler as inferior of Emacs, and parse its error messages. | ||
| 2 | |||
| 1 | ;;;!!! dup removal is broken. | 3 | ;;;!!! dup removal is broken. |
| 2 | ;; Run compiler as inferior of Emacs, and parse its error messages. | 4 | |
| 3 | ;; Copyright (C) 1985-1991 Free Software Foundation, Inc. | 5 | ;; Copyright (C) 1985-1991 Free Software Foundation, Inc. |
| 4 | 6 | ||
| 5 | ;; This file is part of GNU Emacs. | 7 | ;; This file is part of GNU Emacs. |
| @@ -266,6 +268,7 @@ means the default). The defaults for these variables are the global values of | |||
| 266 | (setq outwin (display-buffer outbuf)) | 268 | (setq outwin (display-buffer outbuf)) |
| 267 | (set-buffer outbuf) | 269 | (set-buffer outbuf) |
| 268 | (compilation-mode) | 270 | (compilation-mode) |
| 271 | (buffer-disable-undo (current-buffer)) | ||
| 269 | (set (make-local-variable 'compilation-parse-errors-function) parser) | 272 | (set (make-local-variable 'compilation-parse-errors-function) parser) |
| 270 | (set (make-local-variable 'compilation-error-message) error-message) | 273 | (set (make-local-variable 'compilation-error-message) error-message) |
| 271 | (set (make-local-variable 'compilation-error-regexp-alist) regexp-alist) | 274 | (set (make-local-variable 'compilation-error-regexp-alist) regexp-alist) |
| @@ -309,7 +312,6 @@ Runs `compilation-mode-hook' with `run-hooks' (which see)." | |||
| 309 | (interactive) | 312 | (interactive) |
| 310 | (fundamental-mode) | 313 | (fundamental-mode) |
| 311 | (use-local-map compilation-mode-map) | 314 | (use-local-map compilation-mode-map) |
| 312 | (buffer-disable-undo (current-buffer)) | ||
| 313 | (setq major-mode 'compilation-mode) | 315 | (setq major-mode 'compilation-mode) |
| 314 | (setq mode-name "Compilation") | 316 | (setq mode-name "Compilation") |
| 315 | ;; Make buffer's mode line show process state | 317 | ;; Make buffer's mode line show process state |
| @@ -804,3 +806,5 @@ See variable `compilation-parse-errors-function' for the interface it uses." | |||
| 804 | (define-key ctl-x-map "`" 'next-error) | 806 | (define-key ctl-x-map "`" 'next-error) |
| 805 | 807 | ||
| 806 | (provide 'compile) | 808 | (provide 'compile) |
| 809 | |||
| 810 | ;;; compile.el ends here | ||