Nicolas Goaziou преди 8 години
родител
ревизия
13b18ea5e6
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  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

@@ -17661,7 +17661,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