diff options
| author | F. Jason Park | 2023-06-09 21:00:03 -0700 |
|---|---|---|
| committer | F. Jason Park | 2023-10-02 17:31:29 -0700 |
| commit | 3979f83cd60f2d0168690883423b63ae434da929 (patch) | |
| tree | 024f519bd6d318df7570bd90514c27cd9b0a389f /java | |
| parent | a3c6ed0e36488ae21938409d8bce08d7eda6e5c1 (diff) | |
| download | emacs-3979f83cd60f2d0168690883423b63ae434da929.tar.gz emacs-3979f83cd60f2d0168690883423b63ae434da929.zip | |
Inhibit slash commands in erc--input-review-functions
* lisp/erc/erc.el (erc--input-review-functions): Add new review
function `erc--inhibit-slash-cmd-insertion'.
(erc--check-prompt-input-functions): Move
`erc--check-prompt-input-for-multiline-command' above
`erc--check-prompt-input-for-multiline-blanks'.
(erc--inhibit-slash-cmd-insertion): New "review" function to suppress
insertion of prompt input for slash commands. Doesn't affect "meta"
slash commands like /SAY.
(erc--send-input-lines): Don't bother checking whether message is a
command. Instead, trust verdict handed down by message-prep and
review functions. This opens the door to optional insertion for
debugging purposes or when echoing command lines in a shell-like
fashion.
* test/lisp/erc/erc-tests.el (erc-send-whitespace-lines): clean up
portion dealing with trimming slash commands. (Bug#66073)
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions