mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 06:32:24 +00:00
README.mdown (per-buffer): Remove needless lambda
This commit is contained in:
@@ -49,9 +49,7 @@ To use YASnippet as a non-global minor mode, replace `(yas-global-mode 1)` with
|
||||
`(yas-reload-all)` to load the snippet tables. Then add a call to
|
||||
`(yas-minor-mode)` to the major-modes where you to enable YASnippet.
|
||||
|
||||
(add-hook 'prog-mode-hook
|
||||
'(lambda ()
|
||||
(yas-minor-mode)))
|
||||
(add-hook 'prog-mode-hook #'yas-minor-mode)
|
||||
|
||||
# Where are the snippets?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user