summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-02-01 15:42:04 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-02-01 15:42:04 +0100
commit76c08ea77b4cb2f1dbe42b4a8003dfa457fdfdcb (patch)
tree14cb8dd78b7795bce861541364a8715e4699b737
parent426bce6a8343d886b8fadeeb2cda86abd53bf37a (diff)
downloadorg-mode-76c08ea77b4cb2f1dbe42b4a8003dfa457fdfdcb.tar.gz
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
-rw-r--r--contrib/orgmanual.org2
-rw-r--r--doc/org.texi2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/orgmanual.org b/contrib/orgmanual.org
index 8b8ae1e..6b8fbaf 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 a1e4b73..284a159 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