1

So a function is called when the variable value is changed?

add-hook seems to only accept functions.

Drew
  • 75,699
  • 9
  • 109
  • 225
xeruf
  • 324
  • 1
  • 12
  • You gotta read the manual. I recommend [chapter 12.9 Running a function when a variable is changed](https://www.gnu.org/software/emacs/manual/html_node/elisp/Watching-Variables.html). – db48x Sep 16 '22 at 18:08

0 Answers0