Paraphrasing a question I previously asked on SuperUser because, IMO, the answer found there does not resolve the issue.
Question
For the most part I prefer to disable Emacs' fringe. (I customize fringe-mode
to 0
a/k/a no-fringes
) But I like to have the left fringe active when debugging elisp code (for the little fringe arrow pointing to the active line).
How can I configure Emacs to switch to fringe-mode
of (nil . 0)
a/k/a left-only
when entering edebug and restore the previous fringe-mode
when exiting?
Update
Since Emacs 24.3 is the latest stable release as of this writing, I have a preference for solutions that work there. Since Emacs 24.4 is available, in feature-freeze, and actively in use by several users of this site, I'm accepting that answer.