From: Noam Postavsky Date: Sun, 5 Apr 2015 21:59:18 +0000 (-0400) Subject: README.mdown (per-buffer): Remove needless lambda X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/4fd8ab166bcadf7b412410d8a03310314d3776bb README.mdown (per-buffer): Remove needless lambda --- diff --git a/README.mdown b/README.mdown index 4a5be573f..580699414 100644 --- a/README.mdown +++ b/README.mdown @@ -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?