branch: externals/beardbolt
commit 55c26882cd1944371e4dee37780c4ba6cd46d554
Author: Jay Kamat <[email protected]>
Commit: Jay Kamat <[email protected]>
Fix crash on quit
---
README.org | 25 ++++++++++++++++++++-----
rmsbolt.el | 6 +++++-
2 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/README.org b/README.org
index 8e26aae4a7..3148ae0572 100644
--- a/README.org
+++ b/README.org
@@ -5,11 +5,26 @@ A basic implementation of the
[[https://github.com/mattgodbolt/compiler-explorer
* Why RMSbolt over godbolt?
-- No sending your code to a third party server
-- Compilation runs entirely on your machine
-- Better turnaround time from writing code to seeing disassembly
-- Infinitely hackable!
+- No more sending your code to any server
+- Much faster turnaround time from writing code to seeing and interacting with
disassembly
+- 100% usable without the mouse.
- Write, compile, and view dissasembly entirely in Emacs
- - Use compile.el to traverse errors like you would normally
+ - Use compile.el, flymake, or flycheck to traverse and fix errors as you
+ would normally.
+ - Use any libraries on your machine trivially
- Runs entirely without node, npm, or js.
- No dependencies other than emacs 25 and your compiler ~:)~
+ - Code is actually readable
+- Full undo (tree) system from Emacs on disassembly for easy comparisons
+- Infinitely hackable!
+
+* Installation
+
+rmsbolt is not on melpa yet. If you find it useful, please let me know and I
may
+add it..
+
+** Quelpa
+
+#+BEGIN_SRC emacs-lisp
+ (quelpa '(rmsbolt :fetcher gitlab :repo "jgkamat/rmsbolt"))
+#+END_SRC
diff --git a/rmsbolt.el b/rmsbolt.el
index 46c5bb714b..8312599e6f 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -75,6 +75,8 @@
(defvar rmsbolt-shell "bash"
"Shell rmsbolt will use to split paths.")
(defvar rmsbolt-output-buffer "*rmsbolt-output*")
+(defvar rmsbolt-mode
+ "whether rmsbolt-mode is enabled")
(defvar rmsbolt-hide-compile t)
(defvar rmsbolt-binary-asm-limit 5000)
@@ -566,7 +568,9 @@ int main() {
(make-temp-file "rmsbolt-" t))
(add-hook 'kill-emacs-hook
(lambda ()
- (delete-directory rmsbolt-temp-dir t)
+ (when (and rmsbolt-temp-dir
+ (file-directory-p rmsbolt-temp-dir) )
+ (delete-directory rmsbolt-temp-dir t))
(setq rmsbolt-temp-dir nil)))))
(provide 'rmsbolt)