emacs - How to provide a "double prefix argument" programmatically? -
in code, want set mark.
the documentation set-mark-command
says,
with c-u c-u prefix argument, unconditionally set mark point is.
so how call set-mark-command
in way?
edit: see should using push-mark
instead, in particular case. general question of how provide double-prefix argument programmatically remains.
like this:
(set-mark-command '(16))
small explanation find info:
- f1 f
set-mark-command
- jump definition in
simple.el
*help*
window. - c-uc-m-x call
eval-defun
prefix argument, instruments code debugging when function called. - c-u c-u m-x
set-mark-command
. - you should in debugger. e
arg
give(16)
.
Comments
Post a Comment