diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-01 00:43:10 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-01 00:43:10 +0100 |
commit | d5252a159bb218181f440e04b159f1b08fda398a (patch) | |
tree | c6c0f01b1fff5effe4425bd1136c2b6e5c48a353 /elisp/geiser-guile.el | |
parent | ce57385a794978cc5ee2279289d83a120e6ca621 (diff) | |
download | geiser-guile-d5252a159bb218181f440e04b159f1b08fda398a.tar.gz geiser-guile-d5252a159bb218181f440e04b159f1b08fda398a.tar.bz2 |
Guile: fix for the argument shortening algorithm
Diffstat (limited to 'elisp/geiser-guile.el')
-rw-r--r-- | elisp/geiser-guile.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el index 363c061..f0d090d 100644 --- a/elisp/geiser-guile.el +++ b/elisp/geiser-guile.el @@ -125,8 +125,8 @@ This function uses `geiser-guile-init-file' if it exists." (end-of-line) (kill-region p (point))))) (goto-char (point-min)) - (while (re-search-forward "[ \t\n\r][ \t\n\r]+" nil t) - (replace-match " " nil nil)) + (while (search-forward-regexp "\n[ \t\r\n]*" nil t) + (replace-match " ")) (buffer-string)) str)) |