Remove unnecessary functions

This commit is contained in:
mez 2025-02-20 19:46:40 +00:00
parent 0b01d4fc25
commit 7a7e356657
5 changed files with 14 additions and 37 deletions

View file

@ -102,14 +102,14 @@
(insert "* places\n** visited"))
(insert "\n** visited"))))
(defun finddw ()
"Find or create heading for DW posts"
(defun findweb ()
"Find or create heading for website posts"
(filedate)
(goto-char (point-min))
(if (not (search-forward "* dw" nil t))
(if (not (search-forward "* post" nil t))
(progn
(goto-char (point-max))
(insert "* dw"))))
(insert "* post"))))
(defun therating ()
"Rate some media"
@ -195,10 +195,6 @@
(file+function "" findread)
"* %^{Author} /%^{Title}/%(therating)%(theworkbook)"
:jump-to-captured t)
("d" "DW post" entry
(file+function "" finddw)
"* %^{Title}\n%?"
:jump-to-captured t)
("f" "Watched film" entry
(file+function "" findwatched)
"* %^{Title} (%^{Year})%(therating)"
@ -227,6 +223,10 @@
(file+function "" findreading)
"* %^{Author} /%^{Title}/%(theworkbook)\n%(bookcalc)%?"
:jump-to-captured t)
("w" "Website post" entry
(file+function "" findweb)
"* %^{Title}\n%?"
:jump-to-captured t)
("1" "Completed game" entry
(file+function "" findhundred)
"* %^{Title} (%setconsole)"