X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fflow-fill.el;h=2420577ea458a01911a0db2d48a6d5540115a0b5;hb=6d7b29856941c186ec54e3b8a05d4a10566e3582;hp=c4c64db7ed16765362c5274526e95b579868d526;hpb=c9a393eeb329a99695566342a9f03b8a30000898;p=gnus diff --git a/lisp/flow-fill.el b/lisp/flow-fill.el index c4c64db7e..2420577ea 100644 --- a/lisp/flow-fill.el +++ b/lisp/flow-fill.el @@ -97,8 +97,7 @@ RFC 2646 suggests 66 characters for readability." ;;;###autoload (defun fill-flowed (&optional buffer delete-space) - (save-excursion - (set-buffer (or (current-buffer) buffer)) + (with-current-buffer (or (current-buffer) buffer) (goto-char (point-min)) ;; Remove space stuffing. (while (re-search-forward "^\\( \\|>+ $\\)" nil t)