tvl-depot/emacs/.emacs.d/wpc/keymap.el
William Carroll 578ed1ba98 Move move .emacs.d out of configs/shared
Moving all of my Emacs-related files into their own directory at the root of
this repository.
2020-01-30 16:00:29 +00:00

25 lines
623 B
EmacsLisp

;;; keymap.el --- Working with Elisp keymaps -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com>
;;; Commentary:
;; Very much a work-in-progress.
;;; Code:
(require 'macros)
(require 'symbol)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Library
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun keymap/pretty-print (x)
"Pretty prints `X'."
;; TODO: Work-in-progress
(s-concat "\\{" (symbol/to-string x) "}"))
(macros/comment
(keymap/pretty-print lispyville-mode-map))
(provide 'keymap)
;;; keymap.el ends here