[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beardbolt d37371b088 249/323: Fix byte-compilation warn
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beardbolt d37371b088 249/323: Fix byte-compilation warnings |
Date: |
Thu, 9 Mar 2023 10:58:35 -0500 (EST) |
branch: externals/beardbolt
commit d37371b088030802df061a0bc911565b53068810
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Fix byte-compilation warnings
* rmsbolt.el (rmsbolt-automatic-recompile): Fix docstring.
(rmsbolt--lisp-compile-cmd): Fix docstring.
(rmsbolt--nim-compile-cmd): Delete unused local, use file-name-nondirectory.
---
rmsbolt.el | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/rmsbolt.el b/rmsbolt.el
index 73cb1e3ca8..f9376ab12e 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -102,9 +102,9 @@
:group 'rmsbolt)
(defcustom rmsbolt-automatic-recompile t
"Whether to automatically save and recompile the source buffer.
-This setting is automatically disabled on large buffers, set
-'force to force-enable it.
-To only recompile when the buffer is manually saved, set 'on-save."
+This setting is automatically disabled on large buffers, set to
+`force' to force-enable it. To only recompile when the buffer is
+manually saved, set to `on-save'."
:type '(choice (const :tag "Off" nil)
(const :tag "On save" on-save)
(const :tag "On" t)
@@ -487,7 +487,7 @@ Use SRC-BUFFER as buffer for local variables."
(cl-defun rmsbolt--lisp-compile-cmd (&key src-buffer)
"Process a compile command for common lisp.
- Assumes function name to disassemble is 'main'."
+ Assumes function name to disassemble is \\='main\\='."
(rmsbolt--with-files
src-buffer
(let* ((cmd (buffer-local-value 'rmsbolt-command src-buffer))
@@ -679,8 +679,7 @@ https://github.com/derickr/vld"
"Process a compile command for nim."
(rmsbolt--with-files
src-buffer
- (let* ((disass (buffer-local-value 'rmsbolt-disassemble src-buffer))
- (cmd (buffer-local-value 'rmsbolt-command src-buffer))
+ (let* ((cmd (buffer-local-value 'rmsbolt-command src-buffer))
(cmd
(let* ((outdir (expand-file-name "nim-cache" rmsbolt--temp-dir)))
(string-join
@@ -692,7 +691,7 @@ https://github.com/derickr/vld"
src-filename
(concat "&& cp "
(expand-file-name (concat "@m"
- (ff-basename
src-filename)
+
(file-name-nondirectory src-filename)
(if (string-match
(rx "nim cpp") cmd) ".cpp.o" ".c.o"))
outdir)
" " output-filename))
- [elpa] externals/beardbolt 6d0d799d44 233/323: Fix docstring warnings, (continued)
- [elpa] externals/beardbolt 6d0d799d44 233/323: Fix docstring warnings, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt b4f31813dc 240/323: Auto stop an existing compilation, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 50cd4c6d0c 234/323: Use setq for `rmsbolt-dir`, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 9c56c62993 247/323: Update texi docs, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 3baf531b55 238/323: Refactor: Move let binding closer to point of usage, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 24ac775643 246/323: Support Nim 1.6.6, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt e634757395 235/323: Remove unneeded lambda, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 3514e6f288 237/323: rmsbolt-compile: Only ask to save the current buffer, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt ea22302660 258/323: Delete beardbolt-split.el, doesn't justify separate file, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 7619539a86 243/323: starters/elisp: Fix compiler warning, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt d37371b088 249/323: Fix byte-compilation warnings,
ELPA Syncer <=
- [elpa] externals/beardbolt 1873e605ab 256/323: Remove unused test/test-helper.el, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt ce91938102 261/323: Simplify management of bb--temp-dir, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 264b614805 264/323: * beardbolt.el (bb-compile): Better handling of hack-local-variables., ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt ed99686703 267/323: Handle TTYs with unknown background color, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 715f132d0e 263/323: Started rewriting. Too many changes to mention., ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 325327bc70 273/323: Use inhibit-modification-hooks when modifying buffer, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 5131185d13 272/323: Add a Makefile, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 9aba82b6cd 271/323: Update starter/test files, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt b6958c3e0a 277/323: * beardbolt.el: preserve-library-functions -> preserve-weak-symbols, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 2a11095c75 281/323: Rethink and simplify asm-processing algorithm, ELPA Syncer, 2023/03/09