summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-01 00:43:10 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-01 00:43:10 +0100
commitd5252a159bb218181f440e04b159f1b08fda398a (patch)
treec6c0f01b1fff5effe4425bd1136c2b6e5c48a353
parentce57385a794978cc5ee2279289d83a120e6ca621 (diff)
downloadgeiser-guile-d5252a159bb218181f440e04b159f1b08fda398a.tar.gz
geiser-guile-d5252a159bb218181f440e04b159f1b08fda398a.tar.bz2
Guile: fix for the argument shortening algorithm
-rw-r--r--elisp/geiser-guile.el4
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))