unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Has enriched-mode become enriched?
@ 2021-07-12  8:19 Colin Baxter
  2021-07-13 12:20 ` Eli Zaretskii
  2021-07-13 13:05 ` Stefan Monnier
  0 siblings, 2 replies; 8+ messages in thread
From: Colin Baxter @ 2021-07-12  8:19 UTC (permalink / raw)
  To: emacs-devel

Hello,

I noticed a couple of changes in enriched-mode exhibited by the latest
emacs, which are not present in emacs-27.2.

1. It used to be the case that I could set a local variable as

#+begin_src elisp
# Local Variables:
# mode: enriched-mode
# End:
#+end_src

Now the addition of mode after the hyphen gives a File local-variables
error: (void-function enriched-mode-mode). I now have to use

#+begin_src elisp
# Local Variables:
# mode: enriched
# End:
#+end_src

2. It seems I now have to set flyspell explicitly, as in

#+begin_src elisp
(add-hook 'enriched-mode-hook 'turn-on-flyspell)
#+end_src

It used to be the case that

#+begin_src elisp
(add-hook 'text-mode-hook
          (lambda ()
            (flyspell-mode)))
#+end_src

was sufficient for enriched-mode too.

I am wondering if these changes are intended.

Best wishes,

Colin Baxter.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-13 17:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-12  8:19 Has enriched-mode become enriched? Colin Baxter
2021-07-13 12:20 ` Eli Zaretskii
2021-07-13 13:39   ` Phil Sainty
2021-07-13 13:05 ` Stefan Monnier
2021-07-13 16:46   ` Colin Baxter
2021-07-13 17:12     ` John ff
2021-07-13 17:37       ` Stefan Monnier
2021-07-13 17:50         ` tomas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).