Mercurial > emacs
changeset 60353:ee6146798de1
Add comment for compilation-directory-properties.
author | Daniel Pfeiffer <occitan@esperanto.org> |
---|---|
date | Thu, 03 Mar 2005 20:08:21 +0000 |
parents | 932e4b52aa39 |
children | b9a43f92b898 |
files | lisp/progmodes/compile.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/compile.el Thu Mar 03 16:29:19 2005 +0000 +++ b/lisp/progmodes/compile.el Thu Mar 03 20:08:21 2005 +0000 @@ -514,6 +514,10 @@ (and (cdr type) (match-end (cdr type)) compilation-info-face) compilation-error-face)) +;; Internal function for calculating the text properties of a directory +;; change message. The directory property is important, because it is +;; the stack of nested enter-messages. Relative filenames on the following +;; lines are relative to the top of the stack. (defun compilation-directory-properties (idx leave) (if leave (setq leave (match-end leave))) ;; find previous stack, and push onto it, or if `leave' pop it