Explorar el Código

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 hace 8 años
padre
commit
76c08ea77b
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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