aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Colascione2014-01-15 15:49:40 -0800
committerDaniel Colascione2014-01-15 15:49:40 -0800
commit93acfb0eff2c089abf14caa95f5599cdbd99fb48 (patch)
tree08a15c9dffbe14985846cdd8a334f40490f1220b
parentc7880bc8f0fcbbe5744bd563ced34743bcaa9edd (diff)
downloademacs-93acfb0eff2c089abf14caa95f5599cdbd99fb48.tar.gz
emacs-93acfb0eff2c089abf14caa95f5599cdbd99fb48.zip
Use whole file-name-history'.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0e100336b94..fa2f97d0702 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12014-01-15 Daniel Colascione <dancol@dancol.org>
2
3 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4 `buffer-file-name' in interactive-form so that we don't leave
5 pathless file names in `file-name-history'.
6
12014-01-15 Juri Linkov <juri@jurta.org> 72014-01-15 Juri Linkov <juri@jurta.org>
2 8
3 * indent.el (indent-rigidly): Set deactivate-mark to nil 9 * indent.el (indent-rigidly): Set deactivate-mark to nil
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."
1714 (list (read-file-name (if current-prefix-arg 1714 (list (read-file-name (if current-prefix-arg
1715 "Byte compile and load file: " 1715 "Byte compile and load file: "
1716 "Byte compile file: ") 1716 "Byte compile file: ")
1717 file-dir file-name nil) 1717 file-dir buffer-file-name nil)
1718 current-prefix-arg))) 1718 current-prefix-arg)))
1719 ;; Expand now so we get the current buffer's defaults 1719 ;; Expand now so we get the current buffer's defaults
1720 (setq filename (expand-file-name filename)) 1720 (setq filename (expand-file-name filename))