[Top][All Lists]

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

[elpa] master 125bf44 04/10: Use save-current-buffer

From: Dmitry Gutov
Subject: [elpa] master 125bf44 04/10: Use save-current-buffer
Date: Sun, 10 Jan 2016 15:47:43 +0000

branch: master
commit 125bf440f93d45ac5792044c84e5cc21387c8064
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Use save-current-buffer
 diff-hl-flydiff.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/diff-hl-flydiff.el b/diff-hl-flydiff.el
index e5a6111..4d22813 100644
--- a/diff-hl-flydiff.el
+++ b/diff-hl-flydiff.el
@@ -125,7 +125,7 @@ This requires the external program `diff' to be in your 
   (setq diff-hl-flydiff-modified-tick (buffer-modified-tick))
-  (with-current-buffer (get-buffer (current-buffer))
+  (save-current-buffer
     (let* ((temporary-file-directory
             (if (file-directory-p "/dev/shm/")

reply via email to

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