diff options
author | João Távora <joaotavora@gmail.com> | 2015-11-17 22:23:59 +0000 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2015-11-17 22:24:53 +0000 |
commit | b92307f6708f9abff0b2ac242fe4b668232a9153 (patch) | |
tree | 81e26c05aadb79e6554dedb197b9d50346f37dd4 /lisp/emacs-lisp/debug.el | |
parent | 58e6235007e6761fb9734b942ecff94bf4e9ba68 (diff) | |
download | emacs-b92307f6708f9abff0b2ac242fe4b668232a9153.tar.gz emacs-b92307f6708f9abff0b2ac242fe4b668232a9153.tar.bz2 emacs-b92307f6708f9abff0b2ac242fe4b668232a9153.zip |
linum-mode plays more nicely with other margin-setting extensions
linum.el will only modify the left margin if it needs to, and will
only reset the it back to 0 if it guesses that no-one has touched that
margin in the meantime.
As such, this is a more of a workaround than an actual fix, but fixes
the problems described in bug#20674 regarding the interaction with
modes such as darkroom-mode and olivetti-mode.
A similar fix was commited to nlinum.el in ELPA.git's
e7f5f549fbfb740b911fb7f33b42381ecece56d8
* linum.el (linum-delete-overlays): Restore margins more
criteriously.
(linum-update-window): Set margins more criteriously.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions