summaryrefslogtreecommitdiff
path: root/.emacs.d/init-spw.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init-spw.el')
-rw-r--r--.emacs.d/init-spw.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el
index f5741722..ba66fea8 100644
--- a/.emacs.d/init-spw.el
+++ b/.emacs.d/init-spw.el
@@ -2388,7 +2388,7 @@ mutt's review view, after exiting EDITOR."
(defun spw/process-org-essay-for-pandoc-export ()
(goto-char (point-max))
(insert "\n\n")
- (when (string-match "submission" (buffer-file-name))
+ (unless (string-match "submission" (buffer-file-name))
(insert "\n-----\n")
(insert "/This =.docx/.pdf= generated from plain text master/\n\n")
(insert (concat "/at " (format-time-string "%-I:%M%#p %Z, %-d %B %Y")