Skip to main content

New answers tagged

0 votes

unload-feature not unloading function definitions

Like @shynur said; the file was being loaded again and again. The solution was to simply add an if statement in the .dir-locals file to check if the feature had been loaded already, using featurep. I ...
Peter Petigru's user avatar
4 votes

unload-feature not unloading function definitions

Most likely because you didn't evaluate the file as follows: (load "/path/to/your-file.el") (I've tested the above code and it does work.) If you evaluate the defun form by typing C-x C-e (...
shynur's user avatar
  • 5,538

Top 50 recent answers are included