Go to the first, previous, next, last section, table of contents.
Here is a table of the action arguments and options:
- `file'
-
Visit file using
find-file
. See section Visiting Files.
- `+linenum file'
-
Visit file using
find-file
, then go to line number
linenum in it.
- `-l file'
-
- `--load=file'
-
Load a file file of Lisp code with the function
load
.
See section Libraries of Lisp Code for Emacs.
- `-f function'
-
- `--funcall=function'
-
Call Lisp function function with no arguments.
- `--eval expression'
-
Evaluate Lisp expression expression.
- `--insert=file'
-
Insert the contents of file into the current buffer. This is like
what M-x insert-file does. See section Miscellaneous File Operations.
- `--kill'
-
Exit from Emacs without asking for confirmation.
The init file can access the values of the action arguments as the
elements of a list in the variable command-line-args
. The init
file can override the normal processing of the action arguments, or
define new ones, by reading and setting this variable.
Go to the first, previous, next, last section, table of contents.