2020-01-01 03:42:25 +01:00
|
|
|
;;; misc.el --- Basic things that do not fit any other category. -*- lexical-binding: t; -*-
|
|
|
|
|
2020-01-07 07:03:37 +01:00
|
|
|
;; Time-stamp: <2020-01-04T12:11:41+0100>
|
2020-01-01 03:42:25 +01:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
2020-01-07 07:03:37 +01:00
|
|
|
;; (use-package emacs
|
|
|
|
;; :ensure nil
|
2020-01-01 03:42:25 +01:00
|
|
|
|
2020-01-07 07:03:37 +01:00
|
|
|
;; :config
|
|
|
|
;; (defun my/message-with-timestamp (args)
|
|
|
|
;; "Prepend current timestamp to a `message' output."
|
|
|
|
;; (push (concat (format-time-string "[%FT%T] ") (car args)) (cdr args)))
|
2020-01-01 03:42:25 +01:00
|
|
|
|
2020-01-07 07:03:37 +01:00
|
|
|
;; (advice-add 'message :filter-args 'my/message-with-timestamp)
|
|
|
|
;; )
|
2020-01-01 03:42:25 +01:00
|
|
|
|
|
|
|
(provide 'basics/misc)
|
|
|
|
;;; misc.el ends here
|