diff options
-rw-r--r-- | elisp/geiser-syntax.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el index 40f2def..65c4813 100644 --- a/elisp/geiser-syntax.el +++ b/elisp/geiser-syntax.el @@ -231,7 +231,9 @@ implementation-specific entries for font-lock-keywords.") ;;; Code parsing: (defsubst geiser-syntax--symbol-at-point () - (and (not (nth 8 (syntax-ppss))) (symbol-at-point))) + (and (not (nth 8 (syntax-ppss))) + (let ((s (symbol-at-point))) + (and (not (eq s '.)) s)))) (defsubst geiser-syntax--skip-comment/string () (let ((pos (nth 8 (syntax-ppss)))) |