#elisp
Function:
1- number-or-markerThis function returns number-or-marker minus 1.
If you want to change selection, open document below and click on "Move attachment"
GNU Emacs Lisp Reference Manual: Arithmetic Operationsgous to the C operator ++ —it does not
increment a variable. It just computes a sum. Thus, if we continue,
foo
⇒ 4
If you want to increment the variable, you must use setq ,
like this:
(setq foo (1+ foo))
⇒ 5
<span>Function: 1- number-or-marker This function returns number-or-marker minus 1.
Function: + &rest numbers-or-markers This function adds its arguments together. When given no arguments,
+ returns 0.
(+)
⇒ 0
(+ 1)
⇒ 1
(+ 1 2 3 4)
⇒ 10
Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details