bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[21.3 patch] make fill-paragraph ARG optional


From: Jari Aalto
Subject: [21.3 patch] make fill-paragraph ARG optional
Date: Wed, 20 Oct 2004 18:42:16 +0300
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt)

The ARG is not required to contain a value, so I think the &optional
would be better.

Jari


2004-10-20 Wed  Jari Aalto  <jari dot aalto A T cante dot net>

        * textmodes/fill.el (fill-paragraph): Made ARG optional.

--- fill.el.orig        2004-10-20 18:38:00.000000000 +0300
+++ fill.el     2004-10-20 18:38:12.000000000 +0300
@@ -693,7 +693,7 @@
               (looking-at (regexp-quote prefix))))
     (goto-char (match-end 0))))
 
-(defun fill-paragraph (arg)
+(defun fill-paragraph (&optional arg)
   "Fill paragraph at or after point.  Prefix ARG means justify as well.
 If `sentence-end-double-space' is non-nil, then period followed by one
 space does not end a sentence, so don't break a line there.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]