# HG changeset patch # User Richard M. Stallman # Date 1116517107 0 # Node ID 88b93ce112d17c59fdb36912a71ff22ecda731d4 # Parent e375a8cd677e03555da1131c88117e77ff668119 (compilation-finish-function): Mark obsolete. diff -r e375a8cd677e -r 88b93ce112d1 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Thu May 19 13:15:44 2005 +0000 +++ b/lisp/progmodes/compile.el Thu May 19 15:38:27 2005 +0000 @@ -117,7 +117,11 @@ (defvar compilation-finish-function nil "Function to call when a compilation process finishes. It is called with two arguments: the compilation buffer, and a string -describing how the process finished.") +describing how the process finished. + +(make-obsolete-variable 'compilation-finish-function + "Use `compilation-finish-functions', but it works a little differently." + "22.1") ;;;###autoload (defvar compilation-finish-functions nil @@ -1592,7 +1596,8 @@ (beginning-of-line (- 1 compilation-context-lines)) (point))) - (if (left-fringe-p) + ;; If there is no left fringe. + (if (equal (car (window-fringes)) 0) (set-window-start w (save-excursion (goto-char mk) (beginning-of-line 1)