style: Rename custom functions from slash to dash convention
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user