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:
commit
43cc5beca2
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue