summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2015-03-04 00:09:45 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2015-03-04 00:09:45 +0100
commit1386520ff80d06eb3657a9fafa7af272677c46e2 (patch)
tree2356c9fdf7d03824b00186fca7a4b46a1e6c8899
parent42597ad59bf9f8867623a6e64985aaad73837d0c (diff)
downloadgeiser-1386520ff80d06eb3657a9fafa7af272677c46e2.tar.gz
geiser-1386520ff80d06eb3657a9fafa7af272677c46e2.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.el5
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