[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: paragraph fill and arguments
From: |
Johan Bockgård |
Subject: |
Re: paragraph fill and arguments |
Date: |
Sun, 22 Apr 2007 10:10:00 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) |
ypitrey <address@hidden> writes:
> I tried to write a function to do that :
>
> (defun justify ()
> (interactive)
> (mark-paragraph)
> (fill-region-as-paragraphl)
> )
>
> The M-x twice trick works perfectly, but when I try to do 'M-x justify', I
> hav an error message saying :
>
> "justify : Wrong number of arguments: #[nil "ÀÁ!ˆÂÃĉ#ˆÅÁ!‡"
> [forward-paragraph 1 push-mark nil t backward-paragraph] 4 1287337 nil], 1"
>
> Does anyone have an idea on what it comes from?
It seems to come from `mark-paragraph' and says that it was given 1
argument but expected a different number of arguments (zero). This
makes no sense. Please paste *exactly* the code that you tested. Have
you tried "emacs -q -no-site-file"?
--
Johan Bockgård
Re: paragraph fill and arguments, Stefan Monnier, 2007/04/20
Re: paragraph fill and arguments,
Johan Bockgård <=