diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-01-02 19:58:16 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-01-02 19:58:16 +0100 |
commit | f275952d107ea4553a45fefefed51d74b2d94183 (patch) | |
tree | 297be98f09db7e8c14d2255d0edab9fe7719cad9 /elisp | |
parent | 4826d33808c8c54bbe455639c942fc3f789383c0 (diff) | |
download | geiser-guile-f275952d107ea4553a45fefefed51d74b2d94183.tar.gz geiser-guile-f275952d107ea4553a45fefefed51d74b2d94183.tar.bz2 |
Fix for quack users
Apparently, quack makes (thing-at-point 'symbol) to return "#" when
point is looking at a hash symbol, causing havoc to geiser. This patch
defends us about this behaviour.
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-syntax.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el index 8428f49..4921831 100644 --- a/elisp/geiser-syntax.el +++ b/elisp/geiser-syntax.el @@ -294,6 +294,7 @@ implementation-specific entries for font-lock-keywords.") (forward-sexp) (let ((s (thing-at-point 'symbol))) (cond ((not s) (push s elems)) + ((member s '("#" "`" "'")) (push nil elems)) ((not (equal "." s)) (push (make-symbol s) elems))))))) (nreverse elems))))) |