0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-20 03:26:28 +00:00

org.el: Use `newline-and-indent' when in a property drawer.

* org.el (org-meta-return): Use `newline-and-indent' when in a
property drawer.
This commit is contained in:
Bastien Guerry 2012-01-25 09:59:43 +01:00
parent 624b69345c
commit d1e58716dd

View file

@ -18796,6 +18796,8 @@ See the individual commands for more information."
(interactive "P")
(cond
((run-hook-with-args-until-success 'org-metareturn-hook))
((or (org-at-drawer-p) (org-at-property-p))
(newline-and-indent))
((org-at-table-p)
(call-interactively 'org-table-wrap-region))
(t (call-interactively 'org-insert-heading))))