]> git.eshelyaron.com Git - dotfiles.git/commitdiff
Add last update time to esy.org
authorEshel Yaron <eshel@areionsec.com>
Wed, 25 May 2022 10:02:31 +0000 (13:02 +0300)
committerEshel Yaron <eshel@areionsec.com>
Wed, 25 May 2022 10:02:31 +0000 (13:02 +0300)
.emacs.d/esy.org

index be26cb6218e3014b869ccfe876e967f6d940214b..cf4ec49f6815f9a6b8d67dd83a47431884e8e296 100644 (file)
@@ -20,6 +20,13 @@ The source of this document is managed with Git in [[https://git.sr.ht/~eshel/do
 SourceHut]]. An [[https://eshelyaron.com/esy.html][online HTML version]] is also published on my website. See [[#exporting][settings for
 exporting and publishing]] below for more information regarding [[https://eshelyaron.com][my website]].
 
+#+begin_src emacs-lisp :exports results
+  (format-time-string
+   "Last updated at: %d-%m-%Y"
+   (file-attribute-modification-time
+    (file-attributes esy/source-path)))
+#+end_src
+
 * Fresh installation
 :PROPERTIES:
 :CUSTOM_ID: install
@@ -1128,7 +1135,6 @@ does in the shell.
                    (esy/ping-update proc nil)
                    (message "Ping failed.")))))
 
-
   (defun esy/ping-plot ()
     "Plot ping RTT history with gnuplot."
     (interactive)
@@ -1154,7 +1160,7 @@ does in the shell.
     "Keymap for modeline integration.")
 
   (define-minor-mode esy/ping-mode
-    "Toggle background ping checks."
+    "Toggle background pinging on and off."
     :global t :group 'mode-line
     (setq esy/ping-start-time (float-time))
     (run-with-timer 0 esy/ping-interval #'esy/ping)