emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99673: * simple.el (append-to-buf


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99673: * simple.el (append-to-buffer): Fix last change.
Date: Thu, 25 Mar 2010 01:53:30 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99673
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Thu 2010-03-25 01:53:30 -0400
message:
  * simple.el (append-to-buffer): Fix last change.
modified:
  lisp/ChangeLog
  lisp/simple.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-03-24 16:18:13 +0000
+++ b/lisp/ChangeLog    2010-03-25 05:53:30 +0000
@@ -1,3 +1,7 @@
+2010-03-25  Chong Yidong  <address@hidden>
+
+       * simple.el (append-to-buffer): Fix last change.
+
 2010-03-24  Chong Yidong  <address@hidden>
 
        * simple.el (append-to-buffer): Ensure that point is preserved if

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2010-03-24 16:18:13 +0000
+++ b/lisp/simple.el    2010-03-25 05:53:30 +0000
@@ -3472,8 +3472,8 @@
     (let* ((append-to (get-buffer-create buffer))
            (windows (get-buffer-window-list append-to t t))
            point)
-      (with-current-buffer append-to
-       (save-excursion
+      (save-excursion
+       (with-current-buffer append-to
          (setq point (point))
          (barf-if-buffer-read-only)
          (insert-buffer-substring oldbuf start end)


reply via email to

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