Skip to content

Commit

Permalink
enable pp for emacs-lisp-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Wang Chunye committed Mar 21, 2020
1 parent d6ff46a commit 779e129
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,9 @@
:hook (emacs-lisp-mode . show-paren-mode)
:bind (:map emacs-lisp-mode-map
("C-c C-l" . eval-buffer)
("C-c C-c" . eval-defun)))
("C-c C-c" . eval-defun))
:config (require 'pp))

(use-package pp
:straight (pp :type built-in)
:after (pp)
Expand All @@ -391,6 +393,7 @@
("C-c C-e" . pp-macroexpand-last-sexp))
:bind (("M-:" . pp-eval-expression)
("C-x C-e" . pp-eval-last-sexp)))

;; ------------------- protobuf ------------------------
(use-package protobuf-mode
:mode "\\.proto\\'")
Expand Down

0 comments on commit 779e129

Please sign in to comment.