File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 3
3
4
4
#+LINK: PR https://www.github.com/vermiculus/magithub/pull/%s
5
5
#+LINK: BUG https://www.github.com/vermiculus/magithub/issues/%s
6
+
7
+ * Bug Fixes
8
+ - ~magithub-cache-write-to-disk~ now will write to the disk without prompting
9
+ when ~require-final-newline~ is set to t. [[PR:343]]
Original file line number Diff line number Diff line change @@ -237,8 +237,9 @@ The cache is written to `magithub-cache-file' in
237
237
(when magithub-cache--needs-write
238
238
(magithub-in-data-dir
239
239
(with-temp-buffer
240
- (insert (prin1-to-string magithub-cache--cache))
241
- (write-file magithub-cache-file)))
240
+ (let ((require-final-newline nil ))
241
+ (insert (prin1-to-string magithub-cache--cache))
242
+ (write-file magithub-cache-file))))
242
243
(setq magithub-cache--needs-write nil )
243
244
(magithub-debug-message " wrote cache to disk: %S"
244
245
(expand-file-name magithub-cache-file
You can’t perform that action at this time.
0 commit comments