I am using orgmode and after I put my files under git I see some lines that appear next to lines that have changed. They are red, green or blue.
I would like to disable this but have no idea how they are called.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityThe highlighting is performed by diff-hl-mode
from the diff-hl package, and can be toggled with M-x diff-hl-mode
, or unconditionally disabled by passing a negative argument (M-- M-x diff-hl-mode
interactively, (diff-hl-mode -1)
from lisp) like most minor modes.
To find out yourself which minor mode is causing the effect you could use f1 m (describe-mode
) and look in the help buffer to see what minor modes are active, along with the major mode -- those will likely give you a clue as to what is causing the bitmap images to be displayed in the left fringe.
The manage-minor-mode
package could also be helpful to debug cases like these.
manage-minor-mode
package could turn out to be helpful to debug cases like these.
Jul 10, 2015 at 14:13
M-x describe-mode RET
and look in the help buffer to see what minor modes are active, along with the major mode -- those will likely give you a clue as to what is causing the bitmap images to be displayed in the left fringe. In terms of starting with a flow-blown configuration such as prelude, there will undoubtedly be a plethora of stuff that isn't normally active by default but is nevertheless set by the prelude package -- such that it will take a long time before you become familiar with all the non-default settings.