diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-18 16:08:51 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-22 10:46:41 -0200 |
commit | 569e1397bd2e1bcad34658780ef758e979caa243 (patch) | |
tree | 9e94b85cd44506607fa8e3bbbfd269b1e9906f00 | |
parent | 8142023ef51a90fdb5fe094bd9861308cb39452d (diff) |
Hotfix Don't use string-trim. Fix #164
-rw-r--r-- | sx-question-print.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-question-print.el b/sx-question-print.el index e2e171b..ad53b04 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -369,7 +369,7 @@ E.g.: (skip-chars-forward "\r\n[:blank:]") (forward-paragraph) (fill-region beg (point))))) - (string-trim-right (buffer-string)))) + (replace-regexp-in-string "[[:blank:]]+\\'" "" (buffer-string)))) (defun sx-question-mode--dont-fill-here () "If text shouldn't be filled here, return t and skip over it." |