Fix `org-decrease-number-at-point'

* lisp/org.el (org-decrease-number-at-point): Handle the case when INC
  is nil.
This commit is contained in:
Nicolas Goaziou 2015-06-28 21:09:59 +02:00
parent 106ca75307
commit 157591db7c
1 changed files with 1 additions and 1 deletions

View File

@ -20779,7 +20779,7 @@ this numeric value."
With an optional prefix numeric argument INC, decrement using
this numeric value."
(interactive "p")
(org-increase-number-at-point (- inc)))
(org-increase-number-at-point (- (or inc 1))))
(defun org-ctrl-c-ret ()
"Call `org-table-hline-and-move' or `org-insert-heading' dep. on context."