Fix up emacs typos
parent
3f949907a0
commit
e84d5d301a
|
@ -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)))
|
||||
```
|
||||
|
|
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue