summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Davison <davison@stats.ox.ac.uk>2010-09-21 15:17:01 +0100
committerDan Davison <davison@stats.ox.ac.uk>2010-09-21 15:17:01 +0100
commit1923c545020401c35aaa841d50cd36d96631434f (patch)
tree78fa9d096c85ebd9c656d86418b154dc59e13acd
parentca4391f9b5b4b12b761ddd5cb9800a21897d0086 (diff)
downloadorg-mode-1923c545020401c35aaa841d50cd36d96631434f.tar.gz
Add customize interface for `org-src-tab-acts-natively'
* org-src.el (org-src-tab-acts-natively): Add customize interface
-rw-r--r--lisp/org-src.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/org-src.el b/lisp/org-src.el
index a368d80..6c4c464 100644
--- a/lisp/org-src.el
+++ b/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.