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: Eli Zaretskii
Subject: Re: master 47e313e9805: Unbind 'C-M-i' in Text mode
Date: Thu, 30 Nov 2023 08:07:21 +0200

> From: Arash Esbati <arash@gnu.org>
> Cc: Eshel Yaron <me@eshelyaron.com>
> Date: Wed, 29 Nov 2023 20:11:15 +0100
> 
> >    ;; 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.

It's a bogus warning, it happens because you build Emacs
incrementally, starting from the previous build.  To make sure, say

  touch lisp/textmodes/text-mode.el

and then say "make" again -- this time there will be no warning.

AFAICT, the problem is that the first time loaddefs.el still isn't
updated, or something like that.

Such temporary warnings appear very frequently when Emacs is built
after an update (as opposed to a "make bootstrap").



reply via email to

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