[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beardbolt 325327bc70 273/323: Use inhibit-modification-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beardbolt 325327bc70 273/323: Use inhibit-modification-hooks when modifying buffer |
Date: |
Thu, 9 Mar 2023 10:58:38 -0500 (EST) |
branch: externals/beardbolt
commit 325327bc704926932829335d853baf52e6160397
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Use inhibit-modification-hooks when modifying buffer
(bb--handle-finish-compile): Also simplify.
---
beardbolt.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/beardbolt.el b/beardbolt.el
index 6f8459bf8e..154276dd52 100644
--- a/beardbolt.el
+++ b/beardbolt.el
@@ -610,7 +610,6 @@ Argument STR compilation finish status."
(split-width-threshold (min split-width-threshold 100)))
(with-current-buffer output-buffer
(asm-mode)
- (font-lock-mode -1)
(setq bb--source-buffer src-buffer)
(bb--output-mode)
(buffer-disable-undo)
@@ -620,6 +619,7 @@ Argument STR compilation finish status."
(display-buffer (current-buffer) `(() (inhibit-same-window . t)))
;; Replace buffer contents but save point and scroll
(let* ((output-window (get-buffer-window))
+ (inhibit-modification-hooks t)
(old-point (and output-window (window-point output-window)))
(old-window-start (and output-window (window-start
output-window))))
(erase-buffer)
@@ -635,8 +635,7 @@ Argument STR compilation finish status."
(set-window-start output-window old-window-start)
(set-window-point output-window old-point))
(bb--make-line-mappings)
- (bb--rainbowize src-buffer)
- (font-lock-mode 1))))
+ (bb--rainbowize src-buffer))))
(when-let ((w (get-buffer-window compilation-buffer)))
(quit-window nil w)))
(t
- [elpa] externals/beardbolt e634757395 235/323: Remove unneeded lambda, (continued)
- [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, 2023/03/09
- [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 <=
- [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
- [elpa] externals/beardbolt 7ff619c375 283/323: Add some benchmarks, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 11a19cfa66 282/323: Simplify line correspondence and overlay management, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt e18e3ee5ae 289/323: Support compile_commands.json, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 3b7a5bc85a 288/323: Simplify M-x beardbolt-starter. Less tmp directory cruft., ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 2e9abdbcbf 293/323: fixup README tweak, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 93778d8391 298/323: Don't try any window scrolling heroics on recompile, ELPA Syncer, 2023/03/09