Просмотр исходного кода

Add customize interface for `org-src-tab-acts-natively'

	* org-src.el (org-src-tab-acts-natively): Add customize interface
Dan Davison 14 лет назад
Родитель
Сommit
1923c54502
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      lisp/org-src.el

+ 4 - 2
lisp/org-src.el

@@ -735,9 +735,11 @@ Org-babel commands."
      (call-interactively
       (lookup-key org-babel-map key)))))
 
-(defvar org-src-tab-acts-natively nil
+(defcustom org-src-tab-acts-natively nil
   "If non-nil, the effect of TAB in a code block is as if it were
-issued in the language major mode buffer.")
+issued in the language major mode buffer."
+  :type 'boolean
+  :group 'org-babel)
 
 (defun org-src-native-tab-command-maybe ()
   "Perform language-specific TAB action.