From 93acfb0eff2c089abf14caa95f5599cdbd99fb48 Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Wed, 15 Jan 2014 15:49:40 -0800 Subject: Use whole file-name-history'. --- lisp/emacs-lisp/bytecomp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp') diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 1e21a222149..6f5b6295d1e 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -1714,7 +1714,7 @@ The value is non-nil if there were no errors, nil if errors." (list (read-file-name (if current-prefix-arg "Byte compile and load file: " "Byte compile file: ") - file-dir file-name nil) + file-dir buffer-file-name nil) current-prefix-arg))) ;; Expand now so we get the current buffer's defaults (setq filename (expand-file-name filename)) -- cgit v1.2.3