Document the pixel scroll option for emacs-mac build (#28)
This commit is contained in:
10
README.md
10
README.md
@@ -655,8 +655,18 @@ And [add the elpaca bootstrap code](https://github.com/progfolio/elpaca?tab=read
|
|||||||
:config
|
:config
|
||||||
(which-key-mode))
|
(which-key-mode))
|
||||||
|
|
||||||
|
;; Disable momentum-based scrolling for precise control and enable smoother scrolling.
|
||||||
(setq pixel-scroll-precision-use-momentum nil)
|
(setq pixel-scroll-precision-use-momentum nil)
|
||||||
(pixel-scroll-precision-mode 1)
|
(pixel-scroll-precision-mode 1)
|
||||||
|
;; Note: If you're using the pre-built `emacs-mac` (version <= 29.1), pixel-based smooth scrolling
|
||||||
|
;; is handled by the Mac port code instead of `pixel-scroll-precision-mode`. In this case, use the
|
||||||
|
;; following line instead of the two lines above:
|
||||||
|
;;
|
||||||
|
;; (pixel-scroll-mode 1)
|
||||||
|
;;
|
||||||
|
;; For more details, see:
|
||||||
|
;; https://bitbucket.org/mituharu/emacs-mac/commits/65c6c96f27afa446df6f9d8eff63f9cc012cc738
|
||||||
|
|
||||||
|
|
||||||
(display-time-mode)
|
(display-time-mode)
|
||||||
(show-paren-mode +1) ; Paren match highlighting
|
(show-paren-mode +1) ; Paren match highlighting
|
||||||
|
|||||||
Reference in New Issue
Block a user