style: fix indentation

This commit is contained in:
Lucien Cartier-Tilet 2023-05-14 12:47:43 +02:00
parent 8bec97a8a0
commit 86f211ba50
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -139,16 +139,15 @@ contextual information."
(org-ascii--current-text-width section info) (org-ascii--current-text-width section info)
info)))) info))))
(org-remove-indentation (org-remove-indentation
(if (not (org-string-nw-p links)) contents-str (if (not (org-string-nw-p links)) contents-str
(concat (org-element-normalize-string contents-str) "\n\n" links)) (concat (org-element-normalize-string contents-str) "\n\n" links))
;; Do not apply inner margin if parent headline is low level. ;; Do not apply inner margin if parent headline is low level.
(let ((headline (org-export-get-parent-headline section))) (let ((headline (org-export-get-parent-headline section)))
(if (or (not headline) (org-export-low-level-p headline info)) 0 (if (or (not headline) (org-export-low-level-p headline info)) 0
(plist-get info :ascii-inner-margin)))))) (plist-get info :ascii-inner-margin))))))
(defun org-gemini--build-title (defun org-gemini--build-title (element info _text-width &optional _underline _notags toc)
(element info _text-width &optional _underline _notags toc) "Build a title heading.
"Build a title heading.
ELEMENT is an org-element. TOC is whether to show the table of contents. ELEMENT is an org-element. TOC is whether to show the table of contents.
INFO is unimportant." INFO is unimportant."