summaryrefslogtreecommitdiff
path: root/text-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-01-21 23:52:21 +0800
committerJSDurand <mmemmew@gmail.com>2021-01-22 00:01:20 +0800
commit588b6031e152b031be1dee04c7b38938ea7eb706 (patch)
treeed25c53f4e1ece59f97ecbff19cb2325bf01baf3 /text-conf.el
parent53db9402916822e673b3b49fcba26537e2416b59 (diff)
Regular updates
In the course of configuring Emacs there are numerous changes to make. This is one regular step.
Diffstat (limited to 'text-conf.el')
-rw-r--r--text-conf.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/text-conf.el b/text-conf.el
index 1fe9696..fdecb38 100644
--- a/text-conf.el
+++ b/text-conf.el
@@ -2,6 +2,12 @@
(require 'text-mode)
+(declare-function #'center-buffer-on "center-buffer" nil)
+(declare-function #'center-buffer-off "center-buffer" nil)
+(declare-function #'center-buffer-toggle "center-buffer" nil)
+
+(define-key text-mode-map (vector 'f8) #'center-buffer-toggle)
+
;;;###autoload
(defvar insert-section-heading-history nil
"The history of inserted section heading strings")