emacs-devel
[Top][All Lists]
Advanced

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

Re: collect-string


From: Stephen J. Turnbull
Subject: Re: collect-string
Date: Tue, 09 Nov 2010 18:06:37 +0900

Tak Ota writes:

 > But isn't C-u equivalent to numeric value 4?

No.  C-u delivers a non-numeric value (a list, actually) for the
corresponding arg if "P" is used in the interactive spec.  If "N" or
"p" is specified, it is automatically converted to a number (a power
of 4 depending on how many times C-u was pressed).

C-h f interactive RET

or

(defun show-me-C-u (arg)
  (interactive "P")
  (message "ARG is %s." arg))

Regards,



reply via email to

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