Bugfix: Indentation for converted headlines with `C-c -'
This commit is contained in:
parent
71aeeec70a
commit
d9c47b107f
|
@ -1,5 +1,7 @@
|
|||
2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-ctrl-c-minus): Fix indentation for new items.
|
||||
|
||||
* org-footnote.el: New file.
|
||||
|
||||
* org.el (org-footnote): Require footnote code.
|
||||
|
|
|
@ -13206,7 +13206,10 @@ Calls `org-table-insert-hline', `org-toggle-region-items', or
|
|||
(save-excursion
|
||||
(beginning-of-line 1)
|
||||
(if (looking-at "\\*+ ")
|
||||
(replace-match (concat (make-string (- (match-end 0) (point) 1) ?\ ) "- ")))))
|
||||
(replace-match
|
||||
(concat (make-string
|
||||
(- (match-end 0) (point) (if org-odd-levels-only 2 1)) ?\ )
|
||||
"- ")))))
|
||||
((org-region-active-p)
|
||||
;; Convert all lines in region to list items
|
||||
(call-interactively 'org-toggle-region-items))
|
||||
|
|
Loading…
Reference in New Issue