fix typos

This commit is contained in:
zedhugh committed 2026-08-31 00:49:51 +08:00
1 parent 612d75d2a1
commit 2e8ef80c3c
5 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -26,7 +26,7 @@
(scroll-bar-mode -1)) (scroll-bar-mode -1))
(defun creature/welcom-message () (defun creature/welcome-message ()
(let (init-time startup-time) (let (init-time startup-time)
(setq startup-time (time-since before-init-time)) (setq startup-time (time-since before-init-time))
(setq init-time (setq init-time
@@ -43,7 +43,7 @@
(insert initial-scratch-message) (insert initial-scratch-message)
(set-buffer-modified-p nil))) (set-buffer-modified-p nil)))
(add-hook 'emacs-startup-hook #'creature/welcom-message 1999) (add-hook 'emacs-startup-hook #'creature/welcome-message 1999)
(setq warning-minimum-level :error) (setq warning-minimum-level :error)
+1 -1
View File
@@ -17,7 +17,7 @@
(fset 'yes-or-no-p 'y-or-n-p) (fset 'yes-or-no-p 'y-or-n-p)
(put 'erase-buffer 'disabled nil) (put 'erase-buffer 'disabled nil)
(put 'narrow-to-page 'disabled nil) (put 'narrow-to-page 'disabled nil)
(put 'narrow-to-defun 'disable nil) (put 'narrow-to-defun 'disabled nil)
(put 'narrow-to-region 'disabled nil) (put 'narrow-to-region 'disabled nil)
;; Always use space for indentation ;; Always use space for indentation
+1 -1
View File
@@ -35,7 +35,7 @@
(setq gptel-default-mode #'org-mode (setq gptel-default-mode #'org-mode
gptel-backend bigmodel-code gptel-backend bigmodel-code
gptel-model 'gml-5.1 gptel-model 'glm-5.1
))) )))
(provide 'init-gptel) (provide 'init-gptel)
+1 -1
View File
@@ -19,7 +19,7 @@ Copy from https://github.com/skuro/plantuml-mode/issues/98."
(cdr bounds) (cdr bounds)
keywords keywords
:exclusive 'no :exclusive 'no
:company-docsig #'indentity)))) :company-docsig #'identity))))
(with-eval-after-load 'plantuml-mode (with-eval-after-load 'plantuml-mode
(setq plantuml-exec-mode 'executable (setq plantuml-exec-mode 'executable
+1 -1
View File
@@ -67,7 +67,7 @@ Each font conf looks like (FAMILY . SIZE).")
if FRAME is nil, setup for current frame." if FRAME is nil, setup for current frame."
;; single-byte code ;; single-byte code
(setq inhibit-compacting-font-caches (setq inhibit-compacting-font-caches
(if (eq system-type 'window-nt) t nil)) (if (eq system-type 'windows-nt) t nil))
(let ((single (car creature/font-config)) (let ((single (car creature/font-config))
(multi (cdr creature/font-config))) (multi (cdr creature/font-config)))