diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-10-06 15:01:24 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-10-06 15:01:24 +0100 |
commit | e69adc661f5cbf4807cec8baa8705dcd4edd05b4 (patch) | |
tree | 72e3136b5b6daed4d169c9a656e9c5102995d2e7 /zettelkasten.el | |
parent | 541d85d78160aaccaa37d6303a5e85ad1f71d3f3 (diff) | |
download | org-zettelkasten-e69adc661f5cbf4807cec8baa8705dcd4edd05b4.tar.gz org-zettelkasten-e69adc661f5cbf4807cec8baa8705dcd4edd05b4.zip |
Add capitalizationv0.1.1
Diffstat (limited to 'zettelkasten.el')
-rw-r--r-- | zettelkasten.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zettelkasten.el b/zettelkasten.el index c4fb0f9..10e4639 100644 --- a/zettelkasten.el +++ b/zettelkasten.el @@ -323,7 +323,7 @@ If PARENT is nil, it will not add a link from a PARENT." (with-temp-buffer (set-visited-file-name (concat tag ".org")) (set-buffer-file-coding-system 'utf-8) - (insert (concat "#+TITLE: " tag "\n\n" + (insert (concat "#+TITLE: " (capitalize tag) "\n\n" (apply 'concat (mapcar @@ -331,7 +331,7 @@ If PARENT is nil, it will not add a link from a PARENT." (concat "- " (zettelkasten--format-link note) "\n")) currlist)))) (save-buffer)) - (concat "** " tag "\n :PROPERTIES:\n :CUSTOM_ID: " tag "\n :END:\n\n" + (concat "** " (capitalize tag) "\n :PROPERTIES:\n :CUSTOM_ID: " tag "\n :END:\n\n" (apply 'concat (mapcar |