alphapapa / unpackaged.el

A collection of useful Emacs Lisp code that isn't substantial enough to be packaged
GNU General Public License v3.0
397 stars 13 forks source link

File local-variables error when opening README.org without loading library #28

Open meedstrom opened 1 month ago

meedstrom commented 1 month ago

Hi, thanks for shipping this even though it's "unpackaged". Love expanding the kitchen-sinkiness of Emacs.

When I open the README.org without having loaded the package, I get the message

File local-variables error: (void-function unpackaged/org-export-html-with-useful-ids-mode)

IDK if you want to do something about that special case, but thought I'd report it.

What's weird for me is that I have (setq enable-local-variables :safe) which sounds like it would ignore that, but it does not.

alphapapa commented 1 month ago

Hi Martin,

Thanks for mentioning this, as I obviously wouldn't notice it myself, having the library installed. I'm not sure what the best thing to do about it is. For the most part, I wouldn't expect users to need to open that file, since the Elisp code is tangled to a library file, so I'll probably sit on this for a while.