Variable: eca-chat--kill-guarded-commands

eca-chat--kill-guarded-commands is a variable defined in eca-chat.el.

Value

(kill-line kill-visual-line kill-whole-line kill-region kill-sentence
	   backward-kill-sentence kill-sexp backward-kill-sexp
	   kill-paragraph backward-kill-paragraph)

Documentation

Kill commands advised with eca-chat--key-pressed-kill.

Unlike the char/word deletions handled by eca-chat--key-pressed-deletion, these move by line, sentence, sexp or paragraph, so from inside the prompt field they could cross the prompt/context markup above it (see #305).

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defconst eca-chat--kill-guarded-commands
  '(kill-line
    kill-visual-line
    kill-whole-line
    kill-region
    kill-sentence
    backward-kill-sentence
    kill-sexp
    backward-kill-sexp
    kill-paragraph
    backward-kill-paragraph)
  "Kill commands advised with `eca-chat--key-pressed-kill'.
Unlike the char/word deletions handled by
`eca-chat--key-pressed-deletion', these move by line, sentence,
sexp or paragraph, so from inside the prompt field they could
cross the prompt/context markup above it (see #305).")