diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2015-03-04 00:09:45 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2015-03-04 00:09:45 +0100 |
commit | b695e11602abf10b9a4b1cf8b234f87ee1e915f2 (patch) | |
tree | 97b9c0a670375f6dfab3ca9a5c6b9330f7039c33 | |
parent | f80f48ac7c00b4d0539c9a8f94e8f047482f930a (diff) | |
download | geiser-guile-b695e11602abf10b9a4b1cf8b234f87ee1e915f2.tar.gz geiser-guile-b695e11602abf10b9a4b1cf8b234f87ee1e915f2.tar.bz2 |
Using font-lock-variable-name-face in lieu of bold for autodoc
For some X faces, a bold string in the modeline causes emacs to widen it
to two lines, which is kind of annoying. The default value of
font-lock-variable-name-face on color/X displays doesn't include any
boldness, and will probably improve the default experience of new users.
Thanks to Mario Domenech Goulart for noticing this and the previous one!
-rw-r--r-- | elisp/geiser-autodoc.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el index 129443a..a4cb301 100644 --- a/elisp/geiser-autodoc.el +++ b/elisp/geiser-autodoc.el @@ -1,6 +1,6 @@ ;; geiser-autodoc.el -- autodoc mode -;; Copyright (C) 2009, 2010, 2011, 2012 Jose Antonio Ortega Ruiz +;; Copyright (C) 2009, 2010, 2011, 2012, 2015 Jose Antonio Ortega Ruiz ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the Modified BSD License. You should @@ -26,7 +26,8 @@ :group 'geiser) (geiser-custom--defface autodoc-current-arg - 'bold geiser-autodoc "highlighting current argument in autodoc messages") + 'font-lock-variable-name-face + geiser-autodoc "highlighting current argument in autodoc messages") (geiser-custom--defface autodoc-identifier 'font-lock-function-name-face |