From 1923c545020401c35aaa841d50cd36d96631434f Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Tue, 21 Sep 2010 15:17:01 +0100 Subject: [PATCH] Add customize interface for `org-src-tab-acts-natively' * org-src.el (org-src-tab-acts-natively): Add customize interface --- lisp/org-src.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org-src.el b/lisp/org-src.el index a368d80da..6c4c464f1 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.