diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-09 12:32:30 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-09 12:32:30 +0100 |
commit | 279a07ef71cfb43f97192e059e35d4147f9074e5 (patch) | |
tree | 56f7e05d6f642ee855493230681e735ad3d16cc5 /elisp/geiser-syntax.el | |
parent | eda610de4c00b648c5e2713838654600e546b481 (diff) | |
download | geiser-279a07ef71cfb43f97192e059e35d4147f9074e5.tar.gz geiser-279a07ef71cfb43f97192e059e35d4147f9074e5.tar.bz2 |
Don't echo any autodoc info when arity is not available.
Diffstat (limited to 'elisp/geiser-syntax.el')
-rw-r--r-- | elisp/geiser-syntax.el | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el index 9a476ce..fa8e9b2 100644 --- a/elisp/geiser-syntax.el +++ b/elisp/geiser-syntax.el @@ -68,15 +68,14 @@ (let ((p (geiser-syntax--end-of-thing)) (arg-no 0) (proc)) - (condition-case nil - (progn (backward-up-list) - (forward-char) - (setq proc (symbol-at-point)) - (while (< (point) p) - (forward-sexp) - (when (< (point) p) (setq arg-no (1+ arg-no)))) - (cons proc arg-no)) - (error nil))))) + (ignore-errors + (backward-up-list) + (forward-char) + (setq proc (symbol-at-point)) + (while (< (point) p) + (forward-sexp) + (when (< (point) p) (setq arg-no (1+ arg-no)))) + (cons proc arg-no))))) ;;; Fontify strings as Scheme code: |