]> git.eshelyaron.com Git - emacs.git/commitdiff
Make mouse-wheel-scroll-amount consistent among platforms
authorTak Kunihiro <tkk@misasa.okayama-u.ac.jp>
Fri, 7 Jun 2019 18:26:42 +0000 (19:26 +0100)
committerAlan Third <alan@idiocy.org>
Fri, 7 Jun 2019 18:26:42 +0000 (19:26 +0100)
* lisp/term/ns-win.el (mouse-wheel-scroll-amount): Do not put any
values on mouse-wheel-scroll-amount on ns.

lisp/term/ns-win.el

index 6a668b213dd2be2bc12ff2d4b385782f150ed6e1..83b845b1a5a73f4cab84280ed8745f53c4b7ef3a 100644 (file)
@@ -745,10 +745,6 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
                 (string-to-number (match-string 1 ns-version-string)))))
     ;; Appkit 1138 ~= macOS 10.7.
     (when (>= appkit-version 1138)
-      (setq mouse-wheel-scroll-amount '(1 ((shift) . 5) ((control))))
-      (put 'mouse-wheel-scroll-amount 'customized-value
-           (list (custom-quote (symbol-value 'mouse-wheel-scroll-amount))))
-
       (setq mouse-wheel-progressive-speed nil)
       (put 'mouse-wheel-progressive-speed 'customized-value
            (list (custom-quote