Merge pull request #76 from kalmanb/emacs-typos

Fix up emacs typos
This commit is contained in:
James Long authored and GitHub committed 2017-01-10 23:36:03 -05:00
commit 6b26c1ab3e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -4,5 +4,5 @@ Add this to your init:
(require 'prettier-js)
(add-hook 'js-mode-hook
(lambda ()
(add-hook 'before-save-hook 'jscodefmt-before-save)))
(add-hook 'before-save-hook 'prettier-before-save)))
```
+1 -1
View File
@@ -62,7 +62,7 @@ a `before-save-hook'."
;;;###autoload
(defun prettier-before-save ()
"Add this to .emacs to run refmt on the current buffer when saving:
(add-hook 'before-save-hook 'refmt-before-save)."
(add-hook 'before-save-hook 'prettier-before-save)."
(interactive)
(when (eq major-mode 'js-mode) (prettier)))