summaryrefslogtreecommitdiff
path: root/lisp/progmodes
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
commit2409649888c4202d2bd048a949fc79976ec95305 (patch)
tree4df3e56acb745d6a49f5a3f4564061c3df5a900c /lisp/progmodes
parentfc6b87ea7f7c325471f715dc48e80697c005f868 (diff)
downloademacs-2409649888c4202d2bd048a949fc79976ec95305.tar.gz
* compile.el (compile-file-of-error): Remember that
compilation-error-list stores file names as strings, not as (DIR . FILE) pairs.
Diffstat (limited to 'lisp/progmodes')
-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."