0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-30 17:03:09 +00:00

Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2013-05-25 17:08:57 +02:00
commit 43cc5beca2

View file

@ -1650,10 +1650,10 @@ CONTENTS is nil."
(defun org-element--remove-indentation (s &optional n)
"Remove maximum common indentation in string S and return it.
When N is a positive integer, remove exactly that indentation,
possible, or return S as-is otherwise. Unlike to
`org-remove-indentation', this function doesn't call `untabify'
on S first."
When optional argument N is a positive integer, remove exactly
that much characters from indentation, if possible, or return
S as-is otherwise. Unlike to `org-remove-indentation', this
function doesn't call `untabify' on S."
(catch 'exit
(with-temp-buffer
(insert s)