Rewrite autoload/message.el & move to format.el
Adds new convenience macros like print! and insert!, and adds classes; which are helper functions that can be called inline within format!, print! et co, e.g. (format! "%s" (filename "/tmp/some/file")) ; => file (format! "%s" (relpath "/tmp/some/file" "/tmp")) ; => some/file (format! "%s" (dirname "/tmp/some/file")) ; => /tmp/some Check out doom-format-class-alist for more.
This commit is contained in:
parent
99e23adec1
commit
987061aedd
3 changed files with 232 additions and 133 deletions
|
@ -28,7 +28,7 @@
|
|||
(setq debug-on-error t))
|
||||
|
||||
(require 'pp)
|
||||
(load (expand-file-name "core/autoload/message" user-emacs-directory) nil t)
|
||||
(load (expand-file-name "core/autoload/format" user-emacs-directory) nil t)
|
||||
|
||||
|
||||
(defvar doom-init-p nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue