summaryrefslogtreecommitdiff
path: root/elisp/geiser-racket.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-03-01 04:24:21 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-03-01 04:24:21 +0100
commit4d06d7e13c2b1873b2de2c85333faa6b3d4b93dc (patch)
tree30df26976dc45f08c633a71dfb9966e83f7a9047 /elisp/geiser-racket.el
parent8569220b3aa3312e9de80c95a28a36e7adb750c4 (diff)
downloadgeiser-guile-4d06d7e13c2b1873b2de2c85333faa6b3d4b93dc.tar.gz
geiser-guile-4d06d7e13c2b1873b2de2c85333faa6b3d4b93dc.tar.bz2
Configurable keyword case sensitivity
By default, keywords are now not fontified in Scheme buffers unless they have the correct (lower) case. This behaviour can be altered by new, per-implementation customization variables. Thanks to Diogo F. S. Ramos for pointing this out.
Diffstat (limited to 'elisp/geiser-racket.el')
-rw-r--r--elisp/geiser-racket.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/elisp/geiser-racket.el b/elisp/geiser-racket.el
index f7b33e6..01a7b6b 100644
--- a/elisp/geiser-racket.el
+++ b/elisp/geiser-racket.el
@@ -65,6 +65,11 @@ This executable is used by `run-gracket', and, if
:type '(repeat string)
:group 'geiser-racket)
+(geiser-custom--defcustom geiser-racket-case-sensitive-p t
+ "Non-nil means keyword highlighting is case-sensitive."
+ :type 'boolean
+ :group 'geiser-racket)
+
;;; REPL support:
@@ -353,6 +358,7 @@ using start-geiser, a procedure in the geiser/server module."
(external-help geiser-racket--external-help)
(check-buffer geiser-racket--guess)
(keywords geiser-racket--keywords)
+ (case-sensitive geiser-racket-case-sensitive-p)
(binding-forms geiser-racket--binding-forms)
(binding-forms* geiser-racket--binding-forms*))