about summary refs log tree commit diff
path: root/tools/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/emacs')
-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 512f056cdc98..62611bb63857 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.