Update README.md

This commit is contained in:
James Cherti
2025-02-11 10:03:32 -05:00
parent b33a1fef32
commit d351dac843

View File

@@ -748,19 +748,13 @@ And [add the elpaca bootstrap code](https://github.com/progfolio/elpaca?tab=read
(which-key-add-column-padding 1) (which-key-add-column-padding 1)
(which-key-max-description-length 40)) (which-key-max-description-length 40))
;; Disable momentum-based scrolling for precise control and enable smoother scrolling. (unless (and (eq window-system 'mac)
(setq pixel-scroll-precision-use-momentum nil) (bound-and-true-p mac-carbon-version-string))
(pixel-scroll-precision-mode 1) ;; Enabling `pixel-scroll-precision-mode' is unnecessary with emacs-mac, as
;; this version of Emacs natively supports smooth scrolling.
;; Pixel Scroll Precision Mode on Emacs for macOS: If you're using a pre-built ;; https://bitbucket.org/mituharu/emacs-mac/commits/65c6c96f27afa446df6f9d8eff63f9cc012cc738
;; emacs-mac (version <= 29.1), smooth scrolling is handled by the Mac port (setq pixel-scroll-precision-use-momentum nil) ; Precise/smoother scrolling
;; code, which overrides `pixel-scroll-precision-mode'. In this case, use the (pixel-scroll-precision-mode 1))
;; following line instead of enabling `pixel-scroll-precision-mode':
;;
;; (pixel-scroll-mode 1)
;;
;; For more details, see:
;; https://bitbucket.org/mituharu/emacs-mac/commits/65c6c96f27afa446df6f9d8eff63f9cc012cc738
;; Display the time in the modeline ;; Display the time in the modeline
(display-time-mode 1) (display-time-mode 1)