From f4b84e60ee02979be8d7ff01c97c849ccc96b2b0 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 2 Sep 2014 01:26:40 -0400 Subject: Change Magit function docstrings Make the git line consistent with Magit. --- lisp/init-git.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lisp/init-git.el b/lisp/init-git.el index bed87c1..9ffe6a5 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -34,7 +34,7 @@ Useful for non-source code repos (e.g., Org mode note files)." (defun km/magit-checkout-local-tracking (remote-branch) "Create and checkout a local tracking branch for REMOTE-BRANCH. -\(git checkout -t REMOTE-BRANCH\)" +\n(git checkout -t REMOTE-BRANCH\)" (interactive (list (magit-completing-read "Remote branch" (magit-list-remote-branch-names)))) @@ -44,14 +44,13 @@ Useful for non-source code repos (e.g., Org mode note files)." "Create and checkout BRANCH at current branch. This is equivalent to running `magit-branch-and-checkout' with START-POINT set to the current branch. - -\(git checkout -b BRANCH)" +\n(git checkout -b BRANCH)" (interactive (list (magit-read-string "Branch name"))) (magit-run-git "checkout" "-b" branch)) (defun km/magit-backup-branch () "Create a backup branch for the current branch. -\(git branch b/\)" +\n(git branch b/)" (interactive) (-if-let (current-branch (magit-get-current-branch)) (magit-run-git "branch" (concat "b/" current-branch)) -- cgit v1.2.3