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

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

Re: patch for locate.el when called with prefix arg


From: Luc Teirlinck
Subject: Re: patch for locate.el when called with prefix arg
Date: Mon, 23 Apr 2007 14:56:41 -0500 (CDT)

   It may be feasible to fix org.  Fixing calc is probably a big job and
   has to wait.

>From grepping, I have the impression that there are plenty of other
places that have similar problems.  The docstring of `current-prefix-arg'
does not contain any usage instructions and `(elisp)Prefix Command Arguments'
is unclear, in the two places were it mentions the variable:

     Normally, commands specify which representation to use for the prefix
  argument, either numeric or raw, in the `interactive' specification.
  (*Note Using Interactive::.)  Alternatively, functions may look at the
  value of the prefix argument directly in the variable
  `current-prefix-arg', but this is less clean.

and:

-- Variable: current-prefix-arg
     This variable holds the raw prefix argument for the _current_
     command.  Commands may examine it directly, but the usual method
     for accessing it is with `(interactive "P")'.

Sincerely,

Luc.





reply via email to

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