More docs.

* magit.el (magit-stage-thing-at-point, magit-unstage-thing-at-point):
Added correct docstrings.
This commit is contained in:
Marius Vollmer 2008-08-11 22:37:26 +03:00
parent 75b2ce7977
commit 3c91c2d7af

View file

@ -516,6 +516,7 @@ pushed.
target)))) target))))
(defun magit-stage-thing-at-point () (defun magit-stage-thing-at-point ()
"Add the hunk under point to the staging area."
(interactive) (interactive)
(let ((info (get-char-property (point) 'magit-info))) (let ((info (get-char-property (point) 'magit-info)))
(if info (if info
@ -532,7 +533,7 @@ pushed.
(magit-run "git" "add" (magit-diff-info-file info))))))) (magit-run "git" "add" (magit-diff-info-file info)))))))
(defun magit-unstage-thing-at-point () (defun magit-unstage-thing-at-point ()
"Add the hunk under point to the staging area." "Remove the hunk under point from the staging area."
(interactive) (interactive)
(let ((info (get-char-property (point) 'magit-info))) (let ((info (get-char-property (point) 'magit-info)))
(if info (if info