Browse Source

Fix previous commit by adding docstrings

Bastien Guerry 11 years ago
parent
commit
32e77efa32
1 changed files with 6 additions and 0 deletions
  1. 6 0
      lisp/org.el

+ 6 - 0
lisp/org.el

@@ -20255,6 +20255,9 @@ Optional argument N tells to change by that many units."
     (user-error "Not at a clock log")))
 
 (defun org-increase-number-at-point (&optional inc)
+  "Increment the number at point.
+With an optional prefix numeric argument INC, increment using
+this numeric value."
   (interactive "p")
   (unless inc (setq inc 1))
   (let ((nap (thing-at-point 'number)))
@@ -20267,6 +20270,9 @@ Optional argument N tells to change by that many units."
     (org-table-end-of-field 1)))
 
 (defun org-decrease-number-at-point (&optional inc)
+  "Decrement the number at point.
+With an optional prefix numeric argument INC, decrement using
+this numeric value."
   (interactive "p")
   (org-increase-number-at-point (- inc)))