diff options
author | Bastien Guerry <bzg@altern.org> | 2012-01-25 09:59:43 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-01-25 09:59:43 +0100 |
commit | d1e58716dd4c325eef192c12fb0068e5ff4eb8b2 (patch) | |
tree | 336b5707e10f9616fc9683932d6d83916187c799 | |
parent | 624b69345c02e129c27f96d442ca8e6fc83e183b (diff) | |
download | org-mode-d1e58716dd4c325eef192c12fb0068e5ff4eb8b2.tar.gz |
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.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el index 42375da..e1a0714 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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)))) |