diff options
| -rw-r--r-- | lisp/progmodes/compile.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index d08766f5a35..67feb970cc2 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -117,7 +117,11 @@ nil means compute the name with `(concat \"*\" (downcase major-mode) \"*\")'.") | |||
| 117 | (defvar compilation-finish-function nil | 117 | (defvar compilation-finish-function nil |
| 118 | "Function to call when a compilation process finishes. | 118 | "Function to call when a compilation process finishes. |
| 119 | It is called with two arguments: the compilation buffer, and a string | 119 | It is called with two arguments: the compilation buffer, and a string |
| 120 | describing how the process finished.") | 120 | describing how the process finished. |
| 121 | |||
| 122 | (make-obsolete-variable 'compilation-finish-function | ||
| 123 | "Use `compilation-finish-functions', but it works a little differently." | ||
| 124 | "22.1") | ||
| 121 | 125 | ||
| 122 | ;;;###autoload | 126 | ;;;###autoload |
| 123 | (defvar compilation-finish-functions nil | 127 | (defvar compilation-finish-functions nil |
| @@ -1592,7 +1596,8 @@ displays at the top of the window; there is no arrow." | |||
| 1592 | (beginning-of-line | 1596 | (beginning-of-line |
| 1593 | (- 1 compilation-context-lines)) | 1597 | (- 1 compilation-context-lines)) |
| 1594 | (point))) | 1598 | (point))) |
| 1595 | (if (left-fringe-p) | 1599 | ;; If there is no left fringe. |
| 1600 | (if (equal (car (window-fringes)) 0) | ||
| 1596 | (set-window-start w (save-excursion | 1601 | (set-window-start w (save-excursion |
| 1597 | (goto-char mk) | 1602 | (goto-char mk) |
| 1598 | (beginning-of-line 1) | 1603 | (beginning-of-line 1) |