unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* [21.3 patch] make fill-paragraph ARG optional
@ 2004-10-20 15:42 Jari Aalto
  0 siblings, 0 replies; only message in thread
From: Jari Aalto @ 2004-10-20 15:42 UTC (permalink / raw)



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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-20 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-20 15:42 [21.3 patch] make fill-paragraph ARG optional Jari Aalto

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).