+2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * progmodes/compile.el (compilation-get-file-structure): Complete last
+ change by also using spec-directory in the puthash.
+
2007-09-07 Riccardo Murri <riccardo.murri@gmail.com>
* vc-bzr.el (vc-bzr-admin-lastrev): New constant.
In the former case, FILENAME may be relative or absolute.
The file-structure looks like this:
- (list (list FILENAME [DIR-FROM-PREV-MSG]) FMT LINE-STRUCT...)
-"
+ (list (list FILENAME [DIR-FROM-PREV-MSG]) FMT LINE-STRUCT...)"
(or (gethash file compilation-locs)
;; File was not previously encountered, at least not in the form passed.
;; Let's normalize it and look again.
;; directories have the same name:
;; http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00463.html
(or (gethash (cons filename spec-directory) compilation-locs)
- ;; TODO should this, without spec-directory, be
- ;; done at all?
- (puthash (list filename)
+ (puthash (cons filename spec-directory)
(list (list filename spec-directory) fmt)
compilation-locs))
compilation-locs))))