Fix docs
Fix tiny typo and filling in docs.
This commit is contained in:
parent
6b7f2adfa4
commit
18f9fb41e4
1 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@
|
|||
relative-file-name))
|
||||
|
||||
(defun git-auto-commit ()
|
||||
"Commit `buffer-file-name` to git"
|
||||
"Commit `buffer-file-name' to git"
|
||||
(let* ((filename (buffer-file-name))
|
||||
(relative-filename
|
||||
(git-auto-commit-relative-file-name filename)))
|
||||
|
@ -54,8 +54,8 @@
|
|||
" && git commit -m '" relative-filename "'"))))
|
||||
|
||||
(define-minor-mode git-auto-commit-mode
|
||||
"Automatically commit any changes made when saving with this mode
|
||||
turned on"
|
||||
"Automatically commit any changes made when saving with this
|
||||
mode turned on"
|
||||
:lighter " ga"
|
||||
(if git-auto-commit-mode
|
||||
(add-hook 'after-save-hook 'git-auto-commit t t)
|
||||
|
|
Loading…
Reference in a new issue