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

* org-src.el (org-src-tab-acts-natively): Add customize interface
This commit is contained in:
Dan Davison 2010-09-21 15:17:01 +01:00
parent ca4391f9b5
commit 1923c54502
1 changed files with 4 additions and 2 deletions

View File

@ -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.