[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beardbolt 345059d4f4 219/323: Set `defvar-local` vars w
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beardbolt 345059d4f4 219/323: Set `defvar-local` vars with `setq` |
Date: |
Thu, 9 Mar 2023 10:58:32 -0500 (EST) |
branch: externals/beardbolt
commit 345059d4f406289f9ecb6b756431c26a5f76dd0c
Author: Erik Arvstedt <erik.arvstedt@gmail.com>
Commit: Erik Arvstedt <erik.arvstedt@gmail.com>
Set `defvar-local` vars with `setq`
These are set locally by default.
---
rmsbolt.el | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/rmsbolt.el b/rmsbolt.el
index 7d091918ee..1b333a7a92 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -585,10 +585,10 @@ Use SRC-BUFFER as buffer for local variables."
(rmsbolt-output-filename src-buffer)))
" ")))
(with-current-buffer src-buffer
- (setq-local rmsbolt--real-src-file
- (expand-file-name (file-name-nondirectory
- (buffer-file-name))
- dir)))
+ (setq rmsbolt--real-src-file
+ (expand-file-name (file-name-nondirectory
+ (buffer-file-name))
+ dir)))
cmd))
(cl-defun rmsbolt--py-compile-cmd (&key src-buffer)
"Process a compile command for python3."
@@ -1369,7 +1369,7 @@ Argument OVERRIDE-BUFFER use this buffer instead of
reading from the output file
(cl-incf linum))
(with-current-buffer src-buffer
- (setq-local rmsbolt-line-mapping ht))
+ (setq rmsbolt-line-mapping ht))
;; Replace buffer contents but save point and scroll
(let* ((window (get-buffer-window output-buffer))
@@ -1382,7 +1382,7 @@ Argument OVERRIDE-BUFFER use this buffer instead of
reading from the output file
(set-window-point window old-point)))
(asm-mode)
(rmsbolt-mode 1)
- (setq-local rmsbolt-src-buffer src-buffer)
+ (setq rmsbolt-src-buffer src-buffer)
(display-buffer (current-buffer))
;; Attempt to replace overlays.
;; TODO find a way to do this without a timer hack
@@ -1396,7 +1396,7 @@ Argument OVERRIDE-BUFFER use this buffer instead of
reading from the output file
(display-buffer buffer)
;; TODO find a cleaner way to disable overlays.
(with-current-buffer src-buffer
- (setq-local rmsbolt-line-mapping nil))
+ (setq rmsbolt-line-mapping nil))
(rmsbolt--cleanup-overlays)))
;; Reset automated recompile
(setq rmsbolt--automated-compile nil))
@@ -1404,7 +1404,7 @@ Argument OVERRIDE-BUFFER use this buffer instead of
reading from the output file
(with-current-buffer src-buffer
(dolist (var rmsbolt--default-variables)
(rmsbolt--set-local var nil))
- (setq-local rmsbolt--default-variables nil))))
+ (setq rmsbolt--default-variables nil))))
;;;;; Parsing Options
(defun rmsbolt--get-lang ()
@@ -1472,7 +1472,7 @@ Are you running two compilations at the same time?"))
(save-some-buffers nil (lambda () rmsbolt-mode))
(rmsbolt--gen-temp)
;; Current buffer = src-buffer at this point
- (setq-local rmsbolt-src-buffer (current-buffer))
+ (setq rmsbolt-src-buffer (current-buffer))
(cond
((eq major-mode 'asm-mode)
;; We cannot compile asm-mode files
- [elpa] externals/beardbolt 62e68ea2d4 194/323: Fix overlays not working on first compile with popup, (continued)
- [elpa] externals/beardbolt 62e68ea2d4 194/323: Fix overlays not working on first compile with popup, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 536a699d1f 193/323: Clean up overlays and mappings if compilation fails, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt ea3e0e4257 200/323: Fix incorrect matching of filenames for compile_commands.json, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 2bc1afe528 196/323: Strip -save-temps when -P is provided, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 840d7f7a1e 195/323: Add :force t argument to rmsbolt-move-overlays, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt c86cc8f11e 199/323: Fix highlights not working with compile_commands.json in some cases, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 1c0e96060b 229/323: Don't set global kill-buffer-hook, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 7a964319ba 213/323: Merge branch 'zig-0.9' into 'master', ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 981522dcaa 218/323: Improve `rmsbolt-mode` docstring, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 2e1ff0653e 216/323: Correct location of parse hook, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 345059d4f4 219/323: Set `defvar-local` vars with `setq`,
ELPA Syncer <=
- [elpa] externals/beardbolt 4f6ffdd254 226/323: Rename rmsbolt-move-overlays -> rmsbolt-update-overlays, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 464b524e49 221/323: Remove redundant `and`, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 51ff24b3b1 217/323: Fix native-comp docstring warnings, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 0bc89903f1 231/323: on-kill-buffer: Fix error on missing output-buffer, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt d09d72f463 215/323: Add after-parse-hook, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt af37266681 227/323: Rename rmsbolt--cleanup-overlays -> rmsbolt--remove-overlays, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt f3fe3d24db 230/323: Don't use a timer for updating overlays, ELPA Syncer, 2023/03/09
- [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