mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
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.
This commit is contained in:
parent
7304cc8a9c
commit
47e313e980
8 changed files with 62 additions and 32 deletions
|
|
@ -390,7 +390,6 @@ reference.")
|
|||
"C-c C-u" #'nxml-insert-named-char
|
||||
"C-c C-o" nxml-outline-prefix-map
|
||||
"/" #'nxml-electric-slash
|
||||
"M-TAB" #'completion-at-point
|
||||
"S-<mouse-2>" #'nxml-mouse-hide-direct-text-content)
|
||||
|
||||
(defvar nxml-font-lock-keywords
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue