[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beardbolt 547a47e58f 022/323: Fix default commands
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beardbolt 547a47e58f 022/323: Fix default commands |
Date: |
Thu, 9 Mar 2023 10:57:55 -0500 (EST) |
branch: externals/beardbolt
commit 547a47e58fbd23c432510bdd9b394cab7c6b6f6f
Author: Jay Kamat <jaygkamat@gmail.com>
Commit: Jay Kamat <jaygkamat@gmail.com>
Fix default commands
---
rmsbolt.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/rmsbolt.el b/rmsbolt.el
index 8f90023fad..67ebb96fae 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -35,6 +35,7 @@
"rmsbolt customization options"
:group 'applications)
+;;;;; Buffer Local Tweakables
(defcustom rmsbolt-dissasemble nil
"Whether we should dissasemble an output binary."
:type 'boolean
@@ -43,6 +44,7 @@
(defcustom rmsbolt-command nil
"The base command to run rmsbolt from."
:type 'string
+ ;; nil means use default command
:safe (lambda (v) (or (booleanp v) (stringp v)))
:group 'rmsbolt)
(defcustom rmsbolt-intel-x86 t
@@ -482,8 +484,8 @@ int main() {
(let* ((lang (rmsbolt--get-lang))
(src-buffer (current-buffer))
(cmd rmsbolt-command))
- (when cmd
- (setq-local rmsbolt-command cmd))
+ (when (not cmd)
+ (setq-local rmsbolt-command (rmsbolt-l-compile-cmd lang)))
(when (not (rmsbolt-l-supports-asm lang))
(setq-local rmsbolt-dissasemble t))
src-buffer))
- [elpa] externals/beardbolt 082cbc7b1c 048/323: Add new tests, (continued)
- [elpa] externals/beardbolt 082cbc7b1c 048/323: Add new tests, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt ff6f376d87 053/323: Update README.org, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 3ca3f35cdb 050/323: Add very basic support for rust, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 65a1ac7b6e 054/323: Add support for demangling, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt bb64352f8d 034/323: Store and use ranges to view highlighted regions, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 1419a90465 040/323: Add C/C++ demo, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 39f1e05667 009/323: Add filter for commentOnly, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 4a35528d7d 021/323: Configure all variables with buffer-local values, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 3bfc7ed2e3 012/323: Allow custom functions to parse arguments, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 98cea6e8e0 023/323: Simplify creation of new starters with a macro, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 547a47e58f 022/323: Fix default commands,
ELPA Syncer <=
- [elpa] externals/beardbolt 2530003c71 020/323: Remove rmsbolt-options, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt cf7d2787bc 027/323: Implement line number parsing, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 8fc36eacd8 044/323: Add option to force assembling, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt d37f8a0ebf 042/323: Remove reliance on hl-line-mode, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt a0527f16af 045/323: Add very basic support for common lisp, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt d7acfdd127 041/323: Fix rmsbolt temp directory generation being too late, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt f0d13c4ac2 036/323: Add a stronger blacklist for ocaml asm, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 22810d69a7 062/323: Add docs for python, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 503b51ecb8 066/323: Fix typo, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt ca92d533ad 061/323: Add basic support for python, ELPA Syncer, 2023/03/09