Browse Source

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
Nicolas Goaziou 2 years ago
parent
commit
76c08ea77b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      contrib/orgmanual.org
  2. 1 1
      doc/org.texi

+ 1 - 1
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
 

+ 1 - 1
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