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

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

Re: eval-last-sexp documentation


From: Kai Großjohann
Subject: Re: eval-last-sexp documentation
Date: 23 Jun 2001 20:33:59 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104

On 22 Jun 2001, Deepak Goel wrote:

> (defun eval-last-sexp (eval-last-sexp-arg-internal)
>   "Evaluate sexp before point; print value in minibuffer.
> With argument, print output into current buffer."
>   (interactive "P")
> 
> 
> Seeing as the argument is not optional, i think the documentation
> should say:
>   "Evaluate sexp before point; print value in minibuffer.
> With non-nil argument, print output into current buffer." ...

Commands are often mainly documented for interactive use.  In that
context, `argument' almost certainly refers to `universal argument'.

Maybe the docs could say `with prefix argument' rather than `with
argument', and another sentence starting with `From Lisp, ' could be
added?  (I'm not sure what to put in that additional sentence -- maybe
`From Lisp, the argument is not optional'?  But that doesn't tell the
whole story.)

kai
-- 
~/.signature: No such file or directory



reply via email to

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