aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Pfeiffer2005-03-03 20:08:21 +0000
committerDaniel Pfeiffer2005-03-03 20:08:21 +0000
commitdeda0c65589cbe4e125503dacfd2deeaaf228e61 (patch)
treed496c8c8972bddbe948dd564998953d731bf750c
parent284f0680e9a9e496e4151d5f0138b661645db47f (diff)
downloademacs-deda0c65589cbe4e125503dacfd2deeaaf228e61.tar.gz
emacs-deda0c65589cbe4e125503dacfd2deeaaf228e61.zip
Add comment for compilation-directory-properties.
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 79a6b4b43be..457177d7c4c 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -514,6 +514,10 @@ Faces `compilation-error-face', `compilation-warning-face',
514 (and (cdr type) (match-end (cdr type)) compilation-info-face) 514 (and (cdr type) (match-end (cdr type)) compilation-info-face)
515 compilation-error-face)) 515 compilation-error-face))
516 516
517;; Internal function for calculating the text properties of a directory
518;; change message. The directory property is important, because it is
519;; the stack of nested enter-messages. Relative filenames on the following
520;; lines are relative to the top of the stack.
517(defun compilation-directory-properties (idx leave) 521(defun compilation-directory-properties (idx leave)
518 (if leave (setq leave (match-end leave))) 522 (if leave (setq leave (match-end leave)))
519 ;; find previous stack, and push onto it, or if `leave' pop it 523 ;; find previous stack, and push onto it, or if `leave' pop it