diff options
| -rw-r--r-- | lisp/progmodes/compile.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 13aad9173ae..552bff20c99 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -913,6 +913,7 @@ other kinds of prefix arguments are ignored." | |||
| 913 | ;; The current buffer is a compilation buffer. | 913 | ;; The current buffer is a compilation buffer. |
| 914 | (current-buffer) | 914 | (current-buffer) |
| 915 | (if (and compilation-last-buffer (buffer-name compilation-last-buffer) | 915 | (if (and compilation-last-buffer (buffer-name compilation-last-buffer) |
| 916 | (compilation-buffer-p compilation-last-buffer) | ||
| 916 | (or (not other-buffer) (not (eq compilation-last-buffer | 917 | (or (not other-buffer) (not (eq compilation-last-buffer |
| 917 | (current-buffer))))) | 918 | (current-buffer))))) |
| 918 | compilation-last-buffer | 919 | compilation-last-buffer |