diff options
author | Alex Kost <alezost@gmail.com> | 2015-09-16 21:34:24 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-09-27 12:23:01 +0300 |
commit | 2b7e3aa00afebe454bea26f54d31847e178c3c33 (patch) | |
tree | 32be32ddfcce36341da14b81bbc041aceea8b60b /elisp/geiser-racket.el | |
parent | 59f140f19b36ce273e3a0f955597469d5192c209 (diff) | |
download | geiser-guile-2b7e3aa00afebe454bea26f54d31847e178c3c33.tar.gz geiser-guile-2b7e3aa00afebe454bea26f54d31847e178c3c33.tar.bz2 |
Add 'geiser-syntax--simple-keywords'
Use this function instead of repeating the same code in each
implementation.
Diffstat (limited to 'elisp/geiser-racket.el')
-rw-r--r-- | elisp/geiser-racket.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/elisp/geiser-racket.el b/elisp/geiser-racket.el index 6a849e3..23c6083 100644 --- a/elisp/geiser-racket.el +++ b/elisp/geiser-racket.el @@ -272,10 +272,7 @@ using start-geiser, a procedure in the geiser/server module." (defun geiser-racket--keywords () (append geiser-racket-font-lock-forms - (when geiser-racket-extra-keywords - `((,(format "[[(]%s\\>" - (regexp-opt geiser-racket-extra-keywords 1)) - . 1))))) + (geiser-syntax--simple-keywords geiser-racket-extra-keywords))) (geiser-syntax--scheme-indent (begin0 1) |