diff options
| author | Eshel Yaron | 2023-11-21 12:39:23 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2023-11-26 12:30:12 +0200 |
| commit | 47e313e9805c527e590df4270062a9185ee9db78 (patch) | |
| tree | f3a23260bb4a39158747d5bda3a38d5dcac4b230 /java | |
| parent | 7304cc8a9ca8a7d19baaa24f0a72c7ad9a6a9716 (diff) | |
| download | emacs-47e313e9805c527e590df4270062a9185ee9db78.tar.gz emacs-47e313e9805c527e590df4270062a9185ee9db78.zip | |
Unbind 'C-M-i' in Text mode
Remove the binding of 'C-M-i' to 'ispell-complete-word' in Text mode.
Define a new 'ispell-completion-at-point' function and add that to
'completion-at-point-functions' in Text mode, such that
'completion-at-point' provides the same word completions as
'ispell-complete-word' does OOTB.
* lisp/textmodes/ispell.el (ispell-completion-at-point): New function.
* lisp/textmodes/text-mode.el (text-mode): Add it to 'c-a-p-functions'.
(text-mode-map): Remove 'C-M-i' binding.
(text-mode-meta-tab-ispell-complete-word): New user option.
* etc/NEWS: Announce it.
* doc/emacs/fixit.texi (Spelling)
* doc/emacs/text.texi (Text Mode)
* doc/lispref/modes.texi (Basic Major Modes)
(Example Major Modes): Update.
* lisp/mail/sendmail.el (mail-abbrevs-loaded)
* lisp/nxml/nxml-mode.el (nxml-mode-map): Remove superfluous binding.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions