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

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

[elpa] externals/consult 03cbf0e: consult-completion-in-region: Barf if


From: ELPA Syncer
Subject: [elpa] externals/consult 03cbf0e: consult-completion-in-region: Barf if buffer is read only
Date: Tue, 23 Nov 2021 06:57:13 -0500 (EST)

branch: externals/consult
commit 03cbf0eaf18c2678755b97a06a0b3191eab7da0e
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    consult-completion-in-region: Barf if buffer is read only
---
 consult.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/consult.el b/consult.el
index 4eaf679..2540810 100644
--- a/consult.el
+++ b/consult.el
@@ -2283,6 +2283,7 @@ These configuration options are supported:
     * :completion-styles - Use completion styles (def: `completion-styles')
     * :require-match - Require matches when completing (def: nil)
     * :prompt - The prompt string shown in the minibuffer"
+  (barf-if-buffer-read-only)
   (cl-letf* ((config (alist-get #'consult-completion-in-region 
consult--read-config))
              ;; Overwrite both the local and global value of 
`completion-styles', such that the
              ;; `completing-read' minibuffer sees the overwritten value in any 
case. This is



reply via email to

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