From a0d1215b72aa05b47ca2477d91852890d78a45bd Mon Sep 17 00:00:00 2001 From: SouthFox Date: Thu, 2 Jan 2025 11:47:17 +0800 Subject: [PATCH] [post] update emacs-everywhere post code --- source/_posts/2024/12/emacs-everywhere.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_posts/2024/12/emacs-everywhere.md b/source/_posts/2024/12/emacs-everywhere.md index 9e949f9..78aa5f4 100644 --- a/source/_posts/2024/12/emacs-everywhere.md +++ b/source/_posts/2024/12/emacs-everywhere.md @@ -104,7 +104,7 @@ Emacs 原生安卓版项目主页在(建议读读主页的描述文件的 FAQ 我现在的配置文件如下: -```lisp +```elisp ;; BASIC SETUP: ;; package setup - bootstrap the package system (require 'package) @@ -170,7 +170,7 @@ Emacs 原生安卓版项目主页在(建议读读主页的描述文件的 FAQ completion-category-overrides '((file (styles partial-completion))))) ;; 使用工具栏来做一些特定操作 -(defun android-toggle-keyboard() +(defun android-toggle-keyboard () (interactive) (if touch-screen-display-keyboard (progn @@ -187,7 +187,7 @@ Emacs 原生安卓版项目主页在(建议读读主页的描述文件的 FAQ :help "Toggle keyboard") (message "Enable virtual keyboard"))) -(defun android-tool-bar-configs() +(defun android-tool-bar-configs () (when (and (fboundp 'tool-bar-mode) (string-equal system-type "android")) (tool-bar-mode +1)