Sometimes my LocalWords can get very long. In Org documents, it's awkward to have this 'appendix' of dictionary junk. I'd like to move this to a separate file (.dir-locals.el if possible).

  • This has been on my todo-list for a couple of years -- I'm looking forward to trying out your solution.
    – lawlist
    Mar 12 '17 at 6:31
  • 1
    @lawlist you may then be interested in these functions :-) Mar 12 '17 at 16:32

You can use ispell-buffer-session-localwords for this purpose. In your .dir-locals.el, configure the variable for org-mode as follows:

   "my" "special" "words" "here")))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.