diff options
author | Amin Bandali <bandali@gnu.org> | 2020-04-25 16:20:13 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2020-04-25 16:20:13 -0400 |
commit | 076e900995d9d71d54e3788691cd0958f38c6dfc (patch) | |
tree | 239d0d29cec0ccc6d83ac44574295618299cebbb /lisp | |
parent | 3e61146ea1009db8d48bf53422de799fed285a12 (diff) | |
download | configs-076e900995d9d71d54e3788691cd0958f38c6dfc.tar.gz configs-076e900995d9d71d54e3788691cd0958f38c6dfc.tar.xz configs-076e900995d9d71d54e3788691cd0958f38c6dfc.zip |
Move which-key footnote replacement to lisp/bandali-message.el.
Also, remove (use-package message-x). Doesn't seem to be needed for
tab completion of Gcc in message.el.
Diffstat (limited to '')
-rw-r--r-- | lisp/bandali-message.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/bandali-message.el b/lisp/bandali-message.el index ca30dc4..750188c 100644 --- a/lisp/bandali-message.el +++ b/lisp/bandali-message.el @@ -76,10 +76,13 @@ (use-package footnote :after message - ;; :config + :config ;; (setq footnote-start-tag "" ;; footnote-end-tag "" ;; footnote-style 'unicode) + (when (featurep 'which-key) + (which-key-add-major-mode-key-based-replacements 'message-mode + "C-c f n" "footnote")) :bind (:map message-mode-map :prefix-map b/footnote-prefix-map @@ -92,8 +95,6 @@ ("r" . footnote-renumber-footnotes) ("s" . footnote-set-style))) -(use-package message-x) - (comment (use-package message-x :custom |