aboutsummaryrefslogtreecommitdiff
path: root/sx-question-print.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-question-print.el')
-rw-r--r--sx-question-print.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index 6b65d70..653ebab 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -436,11 +436,10 @@ font-locking."
(setq beg (point))))
(setq end (point))
(sx-babel--make-pre-button
- (buffer-substring
- (save-excursion
- (goto-char beg)
- (line-beginning-position))
- end)))))
+ (save-excursion
+ (goto-char beg)
+ (line-beginning-position))
+ end))))
(provide 'sx-question-print)
;;; sx-question-print.el ends here