General cleanup
This commit is contained in:
parent
9fe64dfe5d
commit
bf8b65601b
7 changed files with 14 additions and 51 deletions
|
@ -10,11 +10,12 @@
|
|||
(org-refile)))
|
||||
|
||||
(defun filedate ()
|
||||
"Insert timestamp based on file name"
|
||||
"Insert timestamp if required based on file name"
|
||||
(interactive)
|
||||
(goto-char (point-min))
|
||||
(setq thedate (file-name-base))
|
||||
(insert (concat "<" thedate ">"))
|
||||
(org-ctrl-c-ctrl-c)
|
||||
(insert "\n\n")
|
||||
(goto-char (point-min)))
|
||||
(unless (eq ?< (char-after))
|
||||
(setq thedate (file-name-base))
|
||||
(insert (concat "<" thedate ">"))
|
||||
(org-ctrl-c-ctrl-c)
|
||||
(insert "\n\n")
|
||||
(goto-char (point-min))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue