projects
/
pelican-mode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0629935
)
Use special values.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 30 Jul 2017 13:48:46 +0000
(15:48 +0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 30 Jul 2017 13:48:46 +0000
(15:48 +0200)
pelican-mode.el
patch
|
blob
|
history
diff --git
a/pelican-mode.el
b/pelican-mode.el
index
fc9de9b
..
5fbd129
100644
(file)
--- a/
pelican-mode.el
+++ b/
pelican-mode.el
@@
-153,12
+153,12
@@
the unquoted printed representation of it is used:
(defun pelican-update-date ()
"Update a Pelican date header."
(interactive)
- (pelican-set-field
"date" (pelican-timestamp)
))
+ (pelican-set-field
:date 'now
))
(defun pelican-publish-draft ()
"Remove draft status from a Pelican post."
(interactive)
- (pelican-
set-field "status" nil
)
+ (pelican-
remove-field :status
)
(pelican-update-date))
(defun pelican-page-p ()