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:

  1. f1 f set-mark-command
  2. jump definition in simple.el *help* window.
  3. c-uc-m-x call eval-defun prefix argument, instruments code debugging when function called.
  4. c-u c-u m-x set-mark-command.
  5. you should in debugger. e arg give (16).

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -