; doc/faq.org: Fix example keybinding code.

This commit is contained in:
Noam Postavsky 2019-04-30 20:44:40 -04:00
parent fc33b2fbae
commit 6a738b581f

View File

@ -58,9 +58,9 @@ if you want to respect [[sym:yas-keymap-disable-hook][=yas-keymap-disable-hook=]
(define-key yas-keymap [(shift tab)] nil)
(define-key yas-keymap [backtab] nil)
(define-key yas-keymap (kbd "<new-next-field-key>")
(yas-keymap-disable-hook 'yas-next-field-or-maybe-expand))
(yas-filtered-definition 'yas-next-field-or-maybe-expand))
(define-key yas-keymap (kbd "<new-prev-field-key>")
(yas-keymap-disable-hook 'yas-prev))
(yas-filtered-definition 'yas-prev))
#+end_src
* How do I define an abbrev key containing characters not supported by the filesystem?