Correct the `yasnippet' setup
This commit is contained in:
parent
4ec491417f
commit
5f4b23340e
@ -3817,11 +3817,12 @@ code formatter for Python]].
|
||||
#+caption: Enable =yas-global-mode=.
|
||||
#+name: lst:enable-yas-global-mode
|
||||
#+begin_src emacs-lisp
|
||||
(when (and (ensure-package-installation 'yasnippet)
|
||||
(require 'yasnippet nil 'noerror))
|
||||
(when (ensure-package-installation 'yasnippet)
|
||||
(custom-set-variables
|
||||
;; Set `yas-alias-to-yas/prefix-p' before loading `yasnippet'.
|
||||
'(yas-alias-to-yas/prefix-p nil))
|
||||
(yas-global-mode +1))
|
||||
(when (require 'yasnippet nil 'noerror)
|
||||
(yas-global-mode +1)))
|
||||
#+end_src
|
||||
|
||||
* [[info:emacs#Display][Display (info)]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user