summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-06-22 03:54:25 +0000
committerJim Blandy <jimb@redhat.com>1993-06-22 03:54:25 +0000
commitaead2f9fa6f8750e414b2dcfab066ee926a5ecc8 (patch)
treed088cffe98686f408a7be6d4818146a0f1f86961
parent929cc9de2d35f53d69b1d2cc530684da83b328f3 (diff)
downloademacs-aead2f9fa6f8750e414b2dcfab066ee926a5ecc8.tar.gz
* compile.el (compile-file-of-error): Remember that
compilation-error-list stores file names as strings, not as (DIR . FILE) pairs.
-rw-r--r--lisp/progmodes/compile.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 12b866ce3d8..7bb2c95ff90 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -507,8 +507,7 @@ Does NOT find the source line like \\[next-error]."
(setq data (cdr data))
(if (markerp data)
(buffer-file-name (marker-buffer data))
- (setq data (car data))
- (expand-file-name (cdr data) (car data))))
+ (car data)))
(defun compilation-next-file (n)
"Move point to the next error for a different file than the current one."