[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110289: * lisp/arc-mode.el (archive-
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110289: * lisp/arc-mode.el (archive-summarize): Let-bind `buffer-file-truename' |
Date: |
Sun, 30 Sep 2012 19:54:43 +0300 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110289
fixes bug: http://debbugs.gnu.org/2295
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Sun 2012-09-30 19:54:43 +0300
message:
* lisp/arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
to nil around the call to `add-text-properties' to prevent
directory time modification by lock_file.
* lisp/tar-mode.el (tar-summarize-buffer): Idem.
modified:
lisp/ChangeLog
lisp/arc-mode.el
lisp/tar-mode.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-09-30 16:36:42 +0000
+++ b/lisp/ChangeLog 2012-09-30 16:54:43 +0000
@@ -1,5 +1,12 @@
2012-09-30 Juri Linkov <address@hidden>
+ * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
+ to nil around the call to `add-text-properties' to prevent
+ directory time modification by lock_file. (Bug#2295)
+ * tar-mode.el (tar-summarize-buffer): Idem.
+
+2012-09-30 Juri Linkov <address@hidden>
+
* facemenu.el (list-colors-sort): Add option "Luminance".
(list-colors-sort-key): Implement it.
@@ -2686,8 +2693,9 @@
* register.el (copy-to-register, copy-rectangle-to-register):
Deactivate the mark, and use indicate-copied-region (Bug#10056).
- (append-to-register, prepend-to-register):
- Call 2012-07-29 Juri Linkov <address@hidden>
+ (append-to-register, prepend-to-register): Call indicate-copied-region.
+
+2012-07-29 Juri Linkov <address@hidden>
* simple.el (async-shell-command-buffer): New defcustom.
(shell-command): Use it. (Bug#4719)
=== modified file 'lisp/arc-mode.el'
--- a/lisp/arc-mode.el 2012-09-28 16:38:07 +0000
+++ b/lisp/arc-mode.el 2012-09-30 16:54:43 +0000
@@ -787,7 +787,8 @@
Optional argument SHUT-UP, if non-nil, means don't print messages
when parsing the archive."
(widen)
- (let ((inhibit-read-only t))
+ (let ((buffer-file-truename nil) ; avoid changing dir mtime by lock_file
+ (inhibit-read-only t))
(setq archive-proper-file-start (copy-marker (point-min) t))
(set (make-local-variable 'change-major-mode-hook) 'archive-desummarize)
(or shut-up
=== modified file 'lisp/tar-mode.el'
--- a/lisp/tar-mode.el 2012-08-13 10:34:25 +0000
+++ b/lisp/tar-mode.el 2012-09-30 16:54:43 +0000
@@ -518,12 +518,13 @@
(progress-reporter-done progress-reporter)
(message "Warning: premature EOF parsing tar file"))
(goto-char (point-min))
- (let ((inhibit-read-only t)
+ (let ((buffer-file-truename nil) ; avoid changing dir mtime by lock_file
+ (inhibit-read-only t)
(total-summaries
(mapconcat 'tar-header-block-summarize tar-parse-info "\n")))
- (insert total-summaries "\n"))
- (goto-char (point-min))
- (restore-buffer-modified-p modified)))
+ (insert total-summaries "\n")
+ (goto-char (point-min))
+ (restore-buffer-modified-p modified))))
(defvar tar-mode-map
(let ((map (make-keymap)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110289: * lisp/arc-mode.el (archive-summarize): Let-bind `buffer-file-truename',
Juri Linkov <=