summaryrefslogtreecommitdiff
path: root/elisp/geiser-syntax.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-syntax.el')
-rw-r--r--elisp/geiser-syntax.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index 4921831..cabc8a6 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -269,6 +269,7 @@ implementation-specific entries for font-lock-keywords.")
(let ((s (thing-at-point 'symbol)))
(and s
(not (equal s "."))
+ (not (string-match "^#[^:]" s)) ;; quack modifies thing-at-point
(make-symbol (substring-no-properties s))))))
(defsubst geiser-syntax--skip-comment/string ()
@@ -295,6 +296,7 @@ implementation-specific entries for font-lock-keywords.")
(let ((s (thing-at-point 'symbol)))
(cond ((not s) (push s elems))
((member s '("#" "`" "'")) (push nil elems))
+ ((string-match "^#[^:]" s) (push nil elems)) ;; quack
((not (equal "." s)) (push (make-symbol s) elems)))))))
(nreverse elems)))))