rougier / book-mode

A clean interface for org files (Emacs)
GNU General Public License v3.0
291 stars 7 forks source link

force box to nil in the mode-line face #4

Open albreche opened 11 months ago

albreche commented 11 months ago

using book-mode, i got some weird box around book-mode--message and current line/total line. I don't know why there are displayed, by the way forcing box to nil in book-mode mask them :

(face-remap-add-relative 'mode-line
                           :foreground (face-foreground 'default)
                           :background (face-background 'default)
                           :height (face-attribute 'default :height)
               :box nil)

  (face-remap-add-relative 'mode-line-inactive
                           :foreground (face-foreground 'default)
                           :background (face-background 'default)
                           :height (face-attribute 'default :height)
               :box nil)
rougier commented 11 months ago

Thanlks! can you make a PR?