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

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

Re: paragraph fill and wrong number of arguments


From: Dieter Wilhelm
Subject: Re: paragraph fill and wrong number of arguments
Date: Sat, 21 Apr 2007 20:05:39 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

Yohann Pitrey <ypitrey@gmail.com> writes:

> I have been trying to write a function to fill a paragraph using :
>
>
>        (defun justify ()
>        (interactive)
>        (mark-paragraph)
>        (fill-region-as-paragraph (region-beginning) (region-end))
>        )
>
> "justify: Wrong number of arguments: #[nil "ÀÁ!ˆÂÃĉ#ˆÅÁ!‡"
> [forward-paragraph 1 push-mark nil t backward-paragraph] 4 1287337
> nil], 1"

not so for me, have you re-evaluated your latest definition?

Bye the way, why don't you use M-q (fill-paragraph)?

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany




reply via email to

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