diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-06-04 06:12:24 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-06-04 06:12:24 +0200 |
| commit | e875b467e2a196ed7e470a593e14bcac4399aeb2 (patch) | |
| tree | 25818589e33dddbb3530ca0a37a9ff4fd3c2b9f1 | |
| parent | 1820c0e50e500654c715daae3ad8db59550af7b3 (diff) | |
corfu--auto-post-command: Do not trigger in read-only buffer (Fix #185)
| -rw-r--r-- | corfu.el | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |
