emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/corfu e875b467e2: corfu--auto-post-command: Do not trig


From: ELPA Syncer
Subject: [elpa] externals/corfu e875b467e2: corfu--auto-post-command: Do not trigger in read-only buffer (Fix #185)
Date: Sat, 4 Jun 2022 00:57:35 -0400 (EDT)

branch: externals/corfu
commit e875b467e2a196ed7e470a593e14bcac4399aeb2
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    corfu--auto-post-command: Do not trigger in read-only buffer (Fix #185)
---
 corfu.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/corfu.el b/corfu.el
index 8fa8b99414..f2f20b4788 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1191,6 +1191,7 @@ See `completion-in-region' for the arguments BEG, END, 
TABLE, PRED."
     (setq corfu--auto-timer nil))
   (when (and (not completion-in-region-mode)
              (not defining-kbd-macro)
+             (not buffer-read-only)
              (corfu--match-symbol-p corfu-auto-commands this-command)
              (corfu--popup-support-p))
     ;; NOTE: Do not use idle timer since this leads to unacceptable slowdowns,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]