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-18 16:08:51 -0200 |
commit | 641beffbc3ce72b4e1b9b6bbb79880ba795fdf72 (patch) | |
tree | 4bd81f62392034242db96ebb411968fa8d599e82 | |
parent | a5cb69f2937500e5c035ff6588c1f25a5a611833 (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 223049a..3d698cc 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -366,7 +366,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." |