diff options
| author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-03-01 00:41:08 +0100 | 
|---|---|---|
| committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-03-01 00:41:08 +0100 | 
| commit | 04652644b47528d0a3ab00c6475a6752e7a1dbb5 (patch) | |
| tree | 564400b089a9a7f30bc32bdb2088c58e7ebeba54 /elisp/geiser-autodoc.el | |
| parent | 7eb84295087a0d531e8694abf0ecc65c86ec5c34 (diff) | |
| download | geiser-chez-04652644b47528d0a3ab00c6475a6752e7a1dbb5.tar.gz geiser-chez-04652644b47528d0a3ab00c6475a6752e7a1dbb5.tar.bz2 | |
Miscellaneous little fixes.
Diffstat (limited to 'elisp/geiser-autodoc.el')
| -rw-r--r-- | elisp/geiser-autodoc.el | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el index 4c936cf..63eb3b9 100644 --- a/elisp/geiser-autodoc.el +++ b/elisp/geiser-autodoc.el @@ -88,7 +88,10 @@ when `geiser-autodoc-display-module-p' is on."    (let ((p (point))          (str (format "%s" (if (eq arg '\#:rest) "." arg))))      (insert str) -    (when (listp arg) (replace-regexp "(quote \\(.*\\))" "'\\1" nil p (point))) +    (when (listp arg) +      (save-excursion +        (replace-regexp "(quote \\(.*\\))" "'\\1" nil p (point)) +        (replace-string "nil" "()" t p (point))))      (when (= current pos)        (put-text-property p (point) 'face 'geiser-font-lock-autodoc-current-arg)))) | 
