Skip to content

Instantly share code, notes, and snippets.

@djui
Created April 19, 2011 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djui/927180 to your computer and use it in GitHub Desktop.
Save djui/927180 to your computer and use it in GitHub Desktop.
This patch removes the dashed line from Emacs' mode-line
--- lisp/bindings.el 2011-04-19 13:21:26.000000000 +0200
+++ lisp/bindings.el 2011-04-19 13:17:12.000000000 +0200
@@ -334,9 +334,7 @@
(propertize " " 'help-echo help-echo)
'mode-line-modes
`(which-func-mode ("" which-func-format ,spaces))
- `(global-mode-string ("" global-mode-string ,spaces))
- `(:eval (unless (display-graphic-p)
- ,(propertize "-%-" 'help-echo help-echo)))))
+ `(global-mode-string ("" global-mode-string ,spaces))))
(standard-mode-line-modes
(list
(propertize "%[" 'help-echo recursive-edit-help-echo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment