diff options
| author | Daniel Colascione | 2014-01-15 15:49:40 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2014-01-15 15:49:40 -0800 |
| commit | 93acfb0eff2c089abf14caa95f5599cdbd99fb48 (patch) | |
| tree | 08a15c9dffbe14985846cdd8a334f40490f1220b | |
| parent | c7880bc8f0fcbbe5744bd563ced34743bcaa9edd (diff) | |
| download | emacs-93acfb0eff2c089abf14caa95f5599cdbd99fb48.tar.gz emacs-93acfb0eff2c089abf14caa95f5599cdbd99fb48.zip | |
Use whole file-name-history'.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 |
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 @@ | |||
| 1 | 2014-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 | |||
| 1 | 2014-01-15 Juri Linkov <juri@jurta.org> | 7 | 2014-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)) |