punassuming / ranger.el

Bringing the goodness of ranger to dired!
699 stars 52 forks source link

Ranger and Deer clobber header-line-format for calling buffer #118

Closed mccullerlp closed 8 years ago

mccullerlp commented 8 years ago

I'm using ranger/deer from Spacemacs and find that it is resetting my header-line-format (which is using tabbar currently).

Easy to fix, but strange and inconvenient for it to clobber the calling buffer since ranger generates its own buffers.

Just set header-line-format to something, can quickly test with

(setq header-line-format mode-line-format)

then run ranger and reopen the calling buffer from ranger. The header line is reset.

punassuming commented 8 years ago

@mccullerlp, yes I don't have anything to address header-lines that are already in place. I will get a fix in place that will revert the modeline once ranger is escaped.

punassuming commented 8 years ago

Fix is in to revert header-line-format when used.