diff options
| author | Juanma Barranquero | 2008-04-18 10:33:17 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-04-18 10:33:17 +0000 |
| commit | ddb1f2e35269792e8175b5badd61b2eff0c95ab9 (patch) | |
| tree | 0c29a0e9e228e68790790f4ac9325f04d8a075e4 /lisp | |
| parent | 85744fc9b48de6507c55c1facdb75a464569d313 (diff) | |
| download | emacs-ddb1f2e35269792e8175b5badd61b2eff0c95ab9.tar.gz emacs-ddb1f2e35269792e8175b5badd61b2eff0c95ab9.zip | |
(compile-internal): Add WHEN to obsolescence declaration.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/progmodes/compile.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 4ee96c6e76a..455a6ae21f9 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -1103,7 +1103,7 @@ Otherwise, construct a buffer name from MODE-NAME." | |||
| 1103 | (compilation-error (replace-regexp-in-string "^No more \\(.+\\)s\\.?" | 1103 | (compilation-error (replace-regexp-in-string "^No more \\(.+\\)s\\.?" |
| 1104 | "\\1" error-message))) | 1104 | "\\1" error-message))) |
| 1105 | (compilation-start command nil name-function highlight-regexp))) | 1105 | (compilation-start command nil name-function highlight-regexp))) |
| 1106 | (make-obsolete 'compile-internal 'compilation-start) | 1106 | (make-obsolete 'compile-internal 'compilation-start "22.1") |
| 1107 | 1107 | ||
| 1108 | ;;;###autoload | 1108 | ;;;###autoload |
| 1109 | (defun compilation-start (command &optional mode name-function highlight-regexp) | 1109 | (defun compilation-start (command &optional mode name-function highlight-regexp) |
| @@ -1248,7 +1248,7 @@ Returns the compilation buffer created." | |||
| 1248 | (start-file-process-shell-command (downcase mode-name) | 1248 | (start-file-process-shell-command (downcase mode-name) |
| 1249 | outbuf command)))) | 1249 | outbuf command)))) |
| 1250 | ;; Make the buffer's mode line show process state. | 1250 | ;; Make the buffer's mode line show process state. |
| 1251 | (setq mode-line-process | 1251 | (setq mode-line-process |
| 1252 | (list (propertize ":%s" 'face 'compilation-warning))) | 1252 | (list (propertize ":%s" 'face 'compilation-warning))) |
| 1253 | (set-process-sentinel proc 'compilation-sentinel) | 1253 | (set-process-sentinel proc 'compilation-sentinel) |
| 1254 | (set-process-filter proc 'compilation-filter) | 1254 | (set-process-filter proc 'compilation-filter) |
| @@ -1419,7 +1419,7 @@ Returns the compilation buffer created." | |||
| 1419 | (if (display-graphic-p) | 1419 | (if (display-graphic-p) |
| 1420 | (let ((map (butlast (copy-keymap tool-bar-map))) | 1420 | (let ((map (butlast (copy-keymap tool-bar-map))) |
| 1421 | (help (last tool-bar-map))) ;; Keep Help last in tool bar | 1421 | (help (last tool-bar-map))) ;; Keep Help last in tool bar |
| 1422 | (tool-bar-local-item | 1422 | (tool-bar-local-item |
| 1423 | "left-arrow" 'previous-error-no-select 'previous-error-no-select map | 1423 | "left-arrow" 'previous-error-no-select 'previous-error-no-select map |
| 1424 | :rtl "right-arrow" | 1424 | :rtl "right-arrow" |
| 1425 | :help "Goto previous error") | 1425 | :help "Goto previous error") |
| @@ -1427,12 +1427,12 @@ Returns the compilation buffer created." | |||
| 1427 | "right-arrow" 'next-error-no-select 'next-error-no-select map | 1427 | "right-arrow" 'next-error-no-select 'next-error-no-select map |
| 1428 | :rtl "left-arrow" | 1428 | :rtl "left-arrow" |
| 1429 | :help "Goto next error") | 1429 | :help "Goto next error") |
| 1430 | (tool-bar-local-item | 1430 | (tool-bar-local-item |
| 1431 | "cancel" 'kill-compilation 'kill-compilation map | 1431 | "cancel" 'kill-compilation 'kill-compilation map |
| 1432 | :enable '(let ((buffer (compilation-find-buffer))) | 1432 | :enable '(let ((buffer (compilation-find-buffer))) |
| 1433 | (get-buffer-process buffer)) | 1433 | (get-buffer-process buffer)) |
| 1434 | :help "Stop compilation") | 1434 | :help "Stop compilation") |
| 1435 | (tool-bar-local-item | 1435 | (tool-bar-local-item |
| 1436 | "refresh" 'recompile 'recompile map | 1436 | "refresh" 'recompile 'recompile map |
| 1437 | :help "Restart compilation") | 1437 | :help "Restart compilation") |
| 1438 | (append map help)))) | 1438 | (append map help)))) |