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:
6961723
)
An empty string field value also means no field.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 30 Jul 2017 14:00:40 +0000
(16:00 +0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 30 Jul 2017 14:00:40 +0000
(16:00 +0200)
pelican-mode.el
patch
|
blob
|
history
diff --git
a/pelican-mode.el
b/pelican-mode.el
index
5fbd129
..
14d3472
100644
(file)
--- a/
pelican-mode.el
+++ b/
pelican-mode.el
@@
-51,10
+51,12
@@
the unquoted printed representation of it is used:
- `slug' means the file's path relative to the document root sans
extension; see `pelican-default-slug'.
-- nil means return an empty string, without any name or value."
+- nil or an empty strings means return an empty string, without
+ any name or value."
(setq value (pcase value
('now (pelican-timestamp))
('slug (pelican-default-slug))
+ ('"" nil)
(_ value)))
(when (symbolp name)
(setq name (string-remove-prefix ":" (symbol-name name))))