[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beardbolt df7451ee35 191/323: Avoid insert on new file
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beardbolt df7451ee35 191/323: Avoid insert on new file creation |
Date: |
Thu, 9 Mar 2023 10:58:30 -0500 (EST) |
branch: externals/beardbolt
commit df7451ee35819bf8522c82f069998ffbaebe5ad6
Author: Jay Kamat <jaygkamat@gmail.com>
Commit: Jay Kamat <jaygkamat@gmail.com>
Avoid insert on new file creation
Copying the file before hand and opening it normally saves on insert hooks
---
rmsbolt.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/rmsbolt.el b/rmsbolt.el
index dbe9edfe3b..b3e54006ea 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -1556,11 +1556,9 @@ Are you running two compilations at the same time?"))
(file-exists-p src-file-name))))
(if (not src-file-exists)
(error "Could not find starter files! Are you sure the starter/ folder
is available? If you want to overide, set `rmsbolt-dir' to your install path")
- (find-file file-name)
(unless exists
- (insert-file-contents
- src-file-name)
- (save-buffer))
+ (copy-file src-file-name file-name))
+ (find-file file-name)
(unless rmsbolt-mode
(rmsbolt-mode 1)))))
- [elpa] externals/beardbolt a4f794666d 160/323: Add D to commentary, (continued)
- [elpa] externals/beardbolt a4f794666d 160/323: Add D to commentary, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt b7d318dfe1 178/323: Add Swift language support, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 98e984493b 170/323: Prevent hot recompile on deleted buffers, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt c655e2af39 186/323: Add check for dead buffers in compilation finish fn, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt d51e71f894 188/323: Use special named buffer for compilation, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 712981e16c 187/323: Remove langauges godbolt has added support for, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt ff496660cc 205/323: Migrate irc channel to libera, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 42edd955ae 201/323: Move filename massaging out of hot loop, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 972e6f41a2 207/323: Merge branch 'faerryn-master-patch-16796' into 'master', ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt bc0652e56e 197/323: Add support for indirect buffers, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt df7451ee35 191/323: Avoid insert on new file creation,
ELPA Syncer <=
- [elpa] externals/beardbolt 95130c1421 203/323: Update copyright and headers, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt f098a467c5 206/323: Add missing `:keymap' key to `define-minor-mode rmsbolt'., ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt c88196439f 211/323: Support Zig 0.9, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 0f3293c607 224/323: Early-exit `when-let` if output-buffer has no window, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt fffadc0b86 214/323: Allow configuring objdump binary in disassembly mode, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 68af010f02 064/323: Add support for haskell, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt f0be36f4b5 063/323: Update link, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 8213e24af3 070/323: Update README, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt e71061f509 075/323: Fix readme, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt c442960f16 076/323: Add an easy way to turn off automatic recompilation, ELPA Syncer, 2023/03/09