Reputation: 1484
I'm getting an error in my Emacs config and I believe it's occurring on a hook function, but I don't know how to get a backtrace or see where the error is since I can't get the debugger to enter a hook function. How can I debug hook functions?
Upvotes: 1
Views: 1431
Reputation: 916
From the comments, it sounds like you know what command causes the hook to be run (org-mode
) but not which hook is the culprit. I would start by using this function to tell you which hooks to look at. (Well, actually, I'd start by looking at org-mode-hook
, but I'm going to assume you already thought of that.)
Upvotes: 1