From b695e11602abf10b9a4b1cf8b234f87ee1e915f2 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 4 Mar 2015 00:09:45 +0100 Subject: 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! --- elisp/geiser-autodoc.el | 5 +++-- 1 file 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 -- cgit v1.2.3