diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-09-02 06:15:58 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-09-02 06:15:58 +0200 |
commit | 12d77d75b267a9c41994d24a3ee7a9a1d63d023b (patch) | |
tree | 4d2a10bab8c21d3844f949b7b73864b8f2d3b4be | |
parent | 2d060d01b4fe318ca7b59fe3acf665491499bc08 (diff) | |
download | geiser-12d77d75b267a9c41994d24a3ee7a9a1d63d023b.tar.gz geiser-12d77d75b267a9c41994d24a3ee7a9a1d63d023b.tar.bz2 |
Yet another fix for scan locals (completion)
-rw-r--r-- | elisp/geiser-syntax.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el index e7c2a9f..773f71f 100644 --- a/elisp/geiser-syntax.el +++ b/elisp/geiser-syntax.el @@ -265,7 +265,8 @@ (when name (push name locals)) (when use-names (dolist (n names) (push n locals))) (dolist (f (butlast rest)) - (when (eq (car f) 'define) (push (cadr f) locals))) + (when (and (listp f) (eq (car f) 'define)) + (push (cadr f) locals))) (geiser-syntax--scan-locals bfs sbfs (car (last (or rest names))) partial |