Via here, in this example it handles the situation when you want to run Magit but haven’t got a project file open:
(let ((current-prefix-arg '(4)))
(call-interactively #'magit-status))
Via here, in this example it handles the situation when you want to run Magit but haven’t got a project file open:
(let ((current-prefix-arg '(4)))
(call-interactively #'magit-status))
One thought on “How To Pragmatically Set A Prefix Argument”