[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode f7f8ea26b1 02/15: Improved cache writing meth
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode f7f8ea26b1 02/15: Improved cache writing method |
Date: |
Fri, 4 Mar 2022 14:13:02 -0500 (EST) |
branch: externals/phps-mode
commit f7f8ea26b1ad8625fee5b1ee4ae42316fa452181
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Improved cache writing method
---
phps-mode-cache.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/phps-mode-cache.el b/phps-mode-cache.el
index 8f5225f614..21b7a3b688 100644
--- a/phps-mode-cache.el
+++ b/phps-mode-cache.el
@@ -58,9 +58,8 @@
"Save DATA in cache for KEY."
(let ((cache-filename (phps-mode-cache--get-filename-for-key key))
(save-silently t))
- (with-temp-buffer
- (insert (format "'%S" data))
- (write-file cache-filename nil))))
+ (with-temp-file cache-filename
+ (insert (format "'%S" data)))))
(defun phps-mode-cache-load (key)
"Load DATA in cache for KEY."
- [elpa] externals/phps-mode updated (35870e4cb1 -> 3349852f21), Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode f494fde442 06/15: Added TODO-item, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode 5fbc73bd43 01/15: Added TODO case, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode 027b102d71 04/15: Added failing indentation tests, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode b5f38a926f 05/15: More work on indentation around multi-line chained objects, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode 0c9d4d7fe9 08/15: Passing test for indenting multi-line chaining expressions, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode fd36f650e6 10/15: Added TODO items, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode 67c3beb075 12/15: Added TODO item for failing indentation, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode f7f8ea26b1 02/15: Improved cache writing method,
Christian Johansson <=
- [elpa] externals/phps-mode 9a852fd48e 03/15: Added another failing indentation case, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode 8d77fbdfdb 13/15: Improved indentation around switch case branches, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode d1d1d4b9a7 14/15: Updated version and modified date, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode 9ac4797803 09/15: Passed indentation test for line after comment block, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode 5d420ba200 11/15: Formatted TODO-items better, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode 3349852f21 15/15: Added TODO item, Christian Johansson, 2022/03/04
- [elpa] externals/phps-mode f619fe6911 07/15: Started on helper function for calculating indentation for multi-line chaining expressions, Christian Johansson, 2022/03/04