From: Glenn Morris Date: Thu, 9 Feb 2012 07:28:32 +0000 (-0800) Subject: * lisp/progmodes/compile.el (compilation-filter-start): Doc fix. X-Git-Tag: emacs-pretest-24.0.94~214 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34c071c64ba9f5c06b29dfda5a01d1c7722cecd8;p=emacs.git * lisp/progmodes/compile.el (compilation-filter-start): Doc fix. * etc/NEWS: Related edit. --- diff --git a/etc/NEWS b/etc/NEWS index 138689cff69..5f85a1520d3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -668,9 +668,10 @@ on platforms that support it. This calls your desktop's preferred browser. *** Compilation mode can be used without font-lock-mode. `compilation-parse-errors-function' is now obsolete. -*** `compilation-filter-start' is let-bound to the start of the text -inserted by the compilation filter function, when calling -compilation-filter-hook. +--- +*** New variable `compilation-filter-start', bound while +compilation-filter-hook runs. It records the start position of the +text inserted by compilation-filter. --- *** `compilation-error-screen-columns' and `compilation-first-column' diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e51f41fb99e..0af831976f0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,7 +1,7 @@ 2012-02-09 Glenn Morris * progmodes/compile.el (compilation-first-column) - (compilation-error-screen-columns): Doc fixes. + (compilation-error-screen-columns, compilation-filter-start): Doc fixes. * vc/log-view.el (log-view-toggle-entry-display): * vc/vc.el (vc-merge, vc-pull): Doc fixes. diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 6c48eee7f4b..c1d8f9db23f 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -74,8 +74,8 @@ If Emacs lacks asynchronous process support, this hook is run after `call-process' inserts the grep output into the buffer.") (defvar compilation-filter-start nil - "Start of the text inserted by `compilation-filter'. -This is bound to a buffer position before running `compilation-filter-hook'.") + "Position of the start of the text inserted by `compilation-filter'. +This is bound before running `compilation-filter-hook'.") (defvar compilation-first-column 1 "*This is how compilers number the first column, usually 1 or 0.