style: Rename custom functions from slash to dash convention

This commit is contained in:
2026-06-27 09:15:48 +08:00
parent 33ced00fc4
commit 315fb0ef87
8 changed files with 45 additions and 41 deletions

View File

@@ -66,11 +66,11 @@
(setq initial-scratch-message
"")
(defun my/scratch-set-mode (&rest _)
(defun my-scratch-set-mode (&rest _)
(when (eq major-mode 'fundamental-mode)
(funcall initial-major-mode)))
(advice-add 'scratch-buffer :after #'my/scratch-set-mode)
(advice-add 'scratch-buffer :after #'my-scratch-set-mode)
;; 窗口名
(setq-default frame-title-format '("%b - Emacs"))