help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: flyspell duplicate exceptions


From: Colin Baxter
Subject: Re: flyspell duplicate exceptions
Date: Sun, 19 Jul 2020 14:05:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Dear Dmitry
>>>>> Dmitry Alexandrov <dag@gnui.org> writes:

    > Colin Baxter <m43cap@yandex.com> wrote:
    >> I ended up actually using it in a '.dir-locals.el' since flyspell
    >> must be loaded first to ensure that the variable
    >> 'flyspell-mark-duplications-exceptions' is recognised.

    >   (with-eval-after-load 'flyspell …)

    > or just

    >   (require 'flyspell)

I used

#+begin_src elisp
(with-eval-after-load 'flyspell
  (push "myexception" ;; Remember to use lower case!
  (alist-get nil flyspell-mark-duplications-exceptions)))
#+end_src

Best wishes,


Colin.

-- 
Colin Baxter
URL: http://www.Colin-Baxter.com



reply via email to

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