22 lines
520 B
EmacsLisp
22 lines
520 B
EmacsLisp
;;; misc.el --- Basic things that do not fit any other category. -*- lexical-binding: t; -*-
|
|
|
|
;; Time-stamp: <2020-01-04T12:11:41+0100>
|
|
|
|
;;; Commentary:
|
|
|
|
;;; Code:
|
|
|
|
;; (use-package emacs
|
|
;; :ensure nil
|
|
|
|
;; :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)))
|
|
|
|
;; (advice-add 'message :filter-args 'my/message-with-timestamp)
|
|
;; )
|
|
|
|
(provide 'basics/misc)
|
|
;;; misc.el ends here
|