864 |
Its job is to enable and disable the mode by setting the variable. |
Its job is to enable and disable the mode by setting the variable. |
865 |
|
|
866 |
The command should accept one optional argument. If the argument is |
The command should accept one optional argument. If the argument is |
867 |
@code{nil}, it should toggle the mode (turn it on if it is off, and off |
@code{nil}, it should toggle the mode (turn it on if it is off, and |
868 |
if it is on). Otherwise, it should turn the mode on if the argument is |
off if it is on). It should turn the mode on if the argument is a |
869 |
a positive integer, a symbol other than @code{nil} or @code{-}, or a |
positive integer, the symbol @code{t}, or a list whose @sc{car} is one |
870 |
list whose @sc{car} is such an integer or symbol; it should turn the |
of those. It should turn the mode off if the argument is a negative |
871 |
mode off otherwise. |
integer or zero, the symbol @code{-}, or a list whose @sc{car} is one |
872 |
|
of those. The meaning of other arguments is not specified. |
873 |
|
|
874 |
Here is an example taken from the definition of @code{transient-mark-mode}. |
Here is an example taken from the definition of @code{transient-mark-mode}. |
875 |
It shows the use of @code{transient-mark-mode} as a variable that enables or |
It shows the use of @code{transient-mark-mode} as a variable that enables or |