diff options
Diffstat (limited to 'lisp/makesum.el')
| -rw-r--r-- | lisp/makesum.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/makesum.el b/lisp/makesum.el index 8c55c2d0e84..f4b647eed35 100644 --- a/lisp/makesum.el +++ b/lisp/makesum.el @@ -98,7 +98,7 @@ Previous contents of that buffer are killed first." (forward-line half) (while (< half nlines) (setq half (1+ half)) - (setq line (buffer-substring (point) (save-excursion (end-of-line) (point)))) + (setq line (buffer-substring (point) (line-end-position))) (setq lines (cons line lines)) (delete-region (point) (progn (forward-line 1) (point))))) (setq lines (nreverse lines)) @@ -112,5 +112,4 @@ Previous contents of that buffer are killed first." (provide 'makesum) -;; arch-tag: c2383336-fc89-46ad-8110-ded42bffaee3 ;;; makesum.el ends here |
