emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116036: Use whole file-name-history'.


From: Daniel Colascione
Subject: [Emacs-diffs] trunk r116036: Use whole file-name-history'.
Date: Wed, 15 Jan 2014 23:49:50 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116036
revision-id: address@hidden
parent: address@hidden
committer: Daniel Colascione <address@hidden>
branch nick: trunk
timestamp: Wed 2014-01-15 15:49:40 -0800
message:
  Use whole file-name-history'.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/emacs-lisp/bytecomp.el    bytecomp.el-20091113204419-o5vbwnq5f7feedwu-492
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-01-15 08:22:41 +0000
+++ b/lisp/ChangeLog    2014-01-15 23:49:40 +0000
@@ -1,3 +1,9 @@
+2014-01-15  Daniel Colascione  <address@hidden>
+
+       * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
+       `buffer-file-name' in interactive-form so that we don't leave
+       pathless file names in `file-name-history'.
+
 2014-01-15  Juri Linkov  <address@hidden>
 
        * indent.el (indent-rigidly): Set deactivate-mark to nil

=== modified file 'lisp/emacs-lisp/bytecomp.el'
--- a/lisp/emacs-lisp/bytecomp.el       2014-01-06 23:34:05 +0000
+++ b/lisp/emacs-lisp/bytecomp.el       2014-01-15 23:49:40 +0000
@@ -1714,7 +1714,7 @@
      (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))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]