Skip to content

Commit c2d655e

Browse files
authored
Update README
Use function quote for 2nd argument to `add-hook`.
1 parent 69a7415 commit c2d655e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ whether God mode is active as follows:
190190
:foreground "#404148"
191191
:background "#efefef"))))
192192
193-
(add-hook 'post-command-hook 'my-god-mode-update-mode-line)
193+
(add-hook 'post-command-hook #'my-god-mode-update-mode-line)
194194
```
195195

196196
Note that using `post-command-hook` here should not be an issue for performance.
@@ -330,7 +330,7 @@ customizations that enable them to be used together smoothly.
330330
```emacs-lisp
331331
(with-eval-after-load 'god-mode
332332
(evil-make-intercept-map god-local-mode-map 'normal)
333-
(add-hook 'god-local-mode-hook 'evil-normalize-keymaps))
333+
(add-hook 'god-local-mode-hook #'evil-normalize-keymaps))
334334
```
335335

336336
* Another option to use God mode with Evil is to use the

0 commit comments

Comments
 (0)