forked from mirrors/org-mode
Merge branch 'maint'
This commit is contained in:
commit
43cc5beca2
|
@ -1650,10 +1650,10 @@ CONTENTS is nil."
|
||||||
|
|
||||||
(defun org-element--remove-indentation (s &optional n)
|
(defun org-element--remove-indentation (s &optional n)
|
||||||
"Remove maximum common indentation in string S and return it.
|
"Remove maximum common indentation in string S and return it.
|
||||||
When N is a positive integer, remove exactly that indentation,
|
When optional argument N is a positive integer, remove exactly
|
||||||
possible, or return S as-is otherwise. Unlike to
|
that much characters from indentation, if possible, or return
|
||||||
`org-remove-indentation', this function doesn't call `untabify'
|
S as-is otherwise. Unlike to `org-remove-indentation', this
|
||||||
on S first."
|
function doesn't call `untabify' on S."
|
||||||
(catch 'exit
|
(catch 'exit
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(insert s)
|
(insert s)
|
||||||
|
|
Loading…
Reference in New Issue