emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master 7230f5a: Fix leaving behind helper buffers


From: Michael Heerdegen
Subject: [elpa] master 7230f5a: Fix leaving behind helper buffers
Date: Wed, 16 Nov 2016 00:05:02 +0000 (UTC)

branch: master
commit 7230f5a4ff36b2ce3a0f5821e2df7a1c4347ebc2
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>

    Fix leaving behind helper buffers
---
 packages/el-search/el-search.el |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/el-search/el-search.el b/packages/el-search/el-search.el
index a5c1a25..2dbd022 100644
--- a/packages/el-search/el-search.el
+++ b/packages/el-search/el-search.el
@@ -7,7 +7,7 @@
 ;; Created: 29 Jul 2015
 ;; Keywords: lisp
 ;; Compatibility: GNU Emacs 25
-;; Version: 1.1.1
+;; Version: 1.1.2
 ;; Package-Requires: ((emacs "25") (stream "2.2.3"))
 
 
@@ -938,7 +938,7 @@ buffer can't contain a match for PATTERN, and non-nil else."
       (if (bufferp file-name-or-buffer)
           (and (buffer-live-p file-name-or-buffer)
                (funcall heuristic-matcher (el-search-atom-list 
(current-buffer))))
-        (with-current-buffer (generate-new-buffer " *temp*")
+        (with-temp-buffer
           (insert-file-contents file-name-or-buffer)
           (funcall heuristic-matcher (el-search-atom-list 
(current-buffer))))))))
 



reply via email to

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