about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tools/emacs/config/functions.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/emacs/config/functions.el b/tools/emacs/config/functions.el
index 512f056cdc..62611bb638 100644
--- a/tools/emacs/config/functions.el
+++ b/tools/emacs/config/functions.el
@@ -267,7 +267,7 @@
   "Take a screenshot based on a mouse-selection and save it to
   ~/screenshots."
   (interactive)
-  (shell-command "scrot '$a_%s.png' -s -e 'mv $f ~/screenshots/'"))
+  (shell-command "scrot '$a_%Y-%m-%d_%s.png' -s -e 'mv $f ~/screenshots/'"))
 
 (defun graph-unread-mails ()
   "Create a bar chart of unread mails based on notmuch tags.