org-src.el: Fix bug: the S-TAB key should not trigger a native TAB command.
* org-src.el (org-src-native-tab-command-maybe): Fix bug: the S-TAB key should not trigger a native TAB command.
This commit is contained in:
parent
1c13115780
commit
570ecb4e31
|
@ -830,6 +830,7 @@ issued in the language major mode buffer."
|
|||
Alter code block according to effect of TAB in the language major
|
||||
mode."
|
||||
(and org-src-tab-acts-natively
|
||||
(not (equal this-command 'org-shifttab))
|
||||
(let ((org-src-strip-leading-and-trailing-blank-lines nil))
|
||||
(org-babel-do-key-sequence-in-edit-buffer (kbd "TAB")))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue