blob c2b376466efc6504d8b60cb6944cba1ba982b328 495 bytes (raw)
name: lisp/org-scrlttr2.el # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| | (defun org-scrlttr2-sectioning (level heading)
(let ((open "\n\\%s {")
(close "}"))
(setq heading (replace-regexp-in-string "\\s-+" "" heading))
(cond
((string-equal heading "subject")
(setq open "\n\\setkomavar{%s} {")
)
((string-equal heading "letter")
(setq open "\n\\begin{%s} {")
)
((string-equal heading "body")
(setq open "\n")
(setq close "\n")
)
(t 'ignore))
(list heading open close open close))
)
|
debug log:
solving c2b3764 ...
found c2b3764 in https://yhetil.org/emacs/4C4CA9F8.7010006@gmail.com/
applying [1/1] https://yhetil.org/emacs/4C4CA9F8.7010006@gmail.com/
diff --git a/lisp/org-scrlttr2.el b/lisp/org-scrlttr2.el
new file mode 100755
index 0000000..c2b3764
1:7: trailing whitespace.
(defun org-scrlttr2-sectioning (level heading)
1:12: trailing whitespace.
(cond
1:24: trailing whitespace.
Checking patch lisp/org-scrlttr2.el...
Applied patch lisp/org-scrlttr2.el cleanly.
warning: 3 lines add whitespace errors.
index at:
100755 c2b376466efc6504d8b60cb6944cba1ba982b328 lisp/org-scrlttr2.el
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.