In some code, I want to set the mark.
The documentation for set-mark-command says,
With C-u C-u as prefix argument, unconditionally set mark where point is.
So how do I call set-mark-command in this way?
EDIT: I see I should be using push-mark instead, in this particular case. But the general question of how to provide a double-prefix argument programmatically remains.
Like this:
(set-mark-command '(16))
Small explanation to find this info:
set-mark-command
simple.el from the *Help* window.eval-defun with a prefix argument, which instruments the code for debugging when the function is called.set-mark-command.arg will give (16).If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With