Adapt to better work on other systems.

This commit is contained in:
2025-12-19 10:32:01 +09:00
parent 9cd88d6be9
commit 26913bece6
4 changed files with 13 additions and 5 deletions

View File

@@ -17,7 +17,8 @@
(which-key-mode))
;; Pixel perfect scrolling
(pixel-scroll-precision-mode)
(unless (version< emacs-version "29.0")
(pixel-scroll-precision-mode))
;; Display time
(display-time-mode)
@@ -116,6 +117,8 @@
;; stopped loading it automatically. So, to remedy that, we load it if it was
;; not already loaded.
(unless (memq 'vterm features)
(load "vterm" nil t))
(load "vterm" t)
(unless (memq 'vterm features)
(message "Failed to load vterm. It is probably not installed.")))
;;; 05-basic.el ends here