branch: externals/vc-got
commit 6f42ede4aec43aaad2f470329c034ed0b40945b0
Author: Omar Polo <[email protected]>
Commit: Omar Polo <[email protected]>
don't create temp buffers for nothing
---
vc-got.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vc-got.el b/vc-got.el
index 23ea185..12d777c 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -727,8 +727,8 @@ Value is returned as floating point fractional number of
days."
((file-exists-p "config")
"config")))
found)
- (with-temp-buffer
- (when conf
+ (when conf
+ (with-temp-buffer
(insert-file-contents conf)
(goto-char (point-min))
(when (search-forward heading nil t)