From 76c08ea77b4cb2f1dbe42b4a8003dfa457fdfdcb Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 1 Feb 2017 15:42:04 +0100 Subject: [PATCH] Replace org-set-local by setq-local in the documentation * contrib/orgmanual.org (Conflicts): Update yasnippet instructions. * doc/org.texi (Packages that conflict with Org mode): Update yasnippet instructions TINYCHANGE --- contrib/orgmanual.org | 2 +- doc/org.texi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/orgmanual.org b/contrib/orgmanual.org index 8b8ae1ecc..6b8fbafb8 100644 --- a/contrib/orgmanual.org +++ b/contrib/orgmanual.org @@ -16760,7 +16760,7 @@ region even if the cursor moves across a special context. #+begin_src emacs-lisp (add-hook 'org-mode-hook (lambda () - (org-set-local 'yas/trigger-key [tab]) + (setq-local yas/trigger-key [tab]) (define-key yas/keymap [tab] 'yas/next-field-or-maybe-expand))) #+end_src diff --git a/doc/org.texi b/doc/org.texi index a1e4b73de..284a15929 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -17687,7 +17687,7 @@ fixed this problem: @lisp (add-hook 'org-mode-hook (lambda () - (org-set-local 'yas/trigger-key [tab]) + (setq-local yas/trigger-key [tab]) (define-key yas/keymap [tab] 'yas/next-field-or-maybe-expand))) @end lisp