Emacs: Universal Argument (prefix arg)

By Xah Lee. Date: . Last updated: .

What is Universal Argument

Emacs has a mechanism for a command to have variant behavior if user calls universal-argumentCtrl+u】 first, before calling the command.

The purpose of universal-argument is:

Example of universal-argument

digit-argument, negative-argument

These are variant of universal-argument.

Keyboard shortcuts for digit-argument