Do not ask for summary insertion for read-only buffers
This commit is contained in:
parent
d75542ac7f
commit
05d37eb89e
1 changed files with 1 additions and 0 deletions
1
kagi.el
1
kagi.el
|
@ -446,6 +446,7 @@ this when PROMPT-INSERT-P is non-nil."
|
||||||
(list
|
(list
|
||||||
(and prompt-insert-p
|
(and prompt-insert-p
|
||||||
(equal current-prefix-arg '(4))
|
(equal current-prefix-arg '(4))
|
||||||
|
(not buffer-read-only)
|
||||||
(y-or-n-p "Insert summary at point?")))
|
(y-or-n-p "Insert summary at point?")))
|
||||||
(list
|
(list
|
||||||
(when (equal current-prefix-arg '(4))
|
(when (equal current-prefix-arg '(4))
|
||||||
|
|
Loading…
Reference in a new issue