emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 47e313e9805: Unbind 'C-M-i' in Text mode


From: Arash Esbati
Subject: Re: master 47e313e9805: Unbind 'C-M-i' in Text mode
Date: Wed, 29 Nov 2023 20:11:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> branch: master
> commit 47e313e9805c527e590df4270062a9185ee9db78
> Author: Eshel Yaron <me@eshelyaron.com>
> Commit: Eli Zaretskii <eliz@gnu.org>
> [...]
> diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el
> index ccba1b063ab..7f38a1c463d 100644
> --- a/lisp/textmodes/text-mode.el
> +++ b/lisp/textmodes/text-mode.el
> [...]
> @@ -131,7 +143,8 @@ Turning on Text mode runs the normal hook 
> `text-mode-hook'."
>  
>    ;; Enable text conversion in this buffer.
>    (setq-local text-conversion-style t)
> -  (add-hook 'context-menu-functions 'text-mode-context-menu 10 t))
> +  (add-hook 'context-menu-functions 'text-mode-context-menu 10 t)
> +  (add-hook 'completion-at-point-functions #'ispell-completion-at-point 10 
> t))
>  
>  (define-derived-mode paragraph-indent-text-mode text-mode "Parindent"
>    "Major mode for editing text, with leading spaces starting a paragraph.

I think this part of the change now throws:

    ELC+ELN  ../lisp/textmodes/text-mode.elc
  In end of data:
  text-mode.el:147:46: Warning: the function ‘ispell-completion-at-point’
  is not known to be defined.

Maybe declare'ing the function helps?  This is with Emacs 30
(a811846879) on macOS.

Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]