summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-10-01 21:58:52 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-10-01 21:58:52 -0700
commit4829a3b033b119b088947d14b73efc197b2547fa (patch)
treeef9a96d2fa02c559ce69ff3ac9a272af84e5f6e9 /lisp/term
parentee3024c70d2974b59ecdd04b75d18d7258262e70 (diff)
parent5172fa02cccaab2500ecf85aaf65b8deed54d42e (diff)
downloademacs-4829a3b033b119b088947d14b73efc197b2547fa.tar.gz
emacs-4829a3b033b119b088947d14b73efc197b2547fa.tar.bz2
emacs-4829a3b033b119b088947d14b73efc197b2547fa.zip
Merge from origin/emacs-26
5172fa02cc Prefer HTTPS to HTTP for gnu.org 8cdd8b920a Merge from Gnulib 60b7668b89 Keep eww buffer current when looking up CSS on MDN bd49b6f1b3 Workaround for faulty localtime() under macOS 10.6 913808e224 Doc amendment for syntax-ppss. 98dc91fda8 Remove incorrect NEWS entry about 'find-library' 539d8626cd Remove inadvertent changes to syntax.texi in last commit. 8c18dcbc78 Amend documentation for text-quoting-style becoming a user... 5f76ac150a Make the value nil in text-quoting-style mean what it does... d5e4e004fa Make text-quoting-style customizable. Introduce t and new... 1ba3471b9b eshell.texi improvements 7abb5c3960 Fix ns-win.el on GNUstep 07ea5ef99a Fix reference style in org.texi b03b4f6d79 Improve handling of iconification of child frames (Bug#28611) ba9139c501 Revert "Don't lose arguments to eshell aliases (Bug#27954)" 43fac3beae Make "unsafe directory" error message more informative (Bu... c59ddb2120 Fix slot typecheck in eieio-persistent 8b2ab5014b Fix semantic-ia-fast-jump 5b45e7e1c3 Bind vc-region-history f172894595 Exit macro definition on undefined keys 289fe6c0d1 Reset bidi-paragraph-direction on article rendering a4f7518817 Fix url-http use of url-current-object 4a755ed421 Avoid assertions in vc-hg.el on MS-Windows cb93a6ce72 Improve documentation of 'copy-sequence' 200ef6f721 Minor update of ack.texi cb407d3e87 * doc/emacs/emacs.texi (Acknowledgments): Add more contrib... 82b6c765ff Improve indexing of multi-file/buffer Isearch commands 645ff6c702 Add CAM02 JCh and CAM02-UCS J'a'b' conversions 157007b58e Fix uses of @kindex in the Emacs manual 63a45e8837 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/e... 3ab2f9bbb9 Merge from gnulib cbc8324488 Prefer HTTPS to HTTP for gnu.org bbda601d1d ; Spelling fixes 695cf5300b Wait for frame visibility with timeout in w32term too e1f6e3127a Bring back the busy wait after x_make_frame_visible (Bug#2... bccf635217 ; * src/gtkutil.c (xg_check_special_colors): Add another G... f428757cdb Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/e... 26d58f0c58 ; Standardize license notices 73dba0f466 Fix last doc string change in simple.el
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/ns-win.el30
-rw-r--r--lisp/term/x-win.el2
2 files changed, 17 insertions, 15 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index bc211ea9589..b8d1a436909 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -594,7 +594,7 @@ the last file dropped is selected."
(declare-function tool-bar-mode "tool-bar" (&optional arg))
;; Based on a function by David Reitter <dreitter@inf.ed.ac.uk> ;
-;; see http://lists.gnu.org/archive/html/emacs-devel/2005-09/msg00681.html .
+;; see https://lists.gnu.org/archive/html/emacs-devel/2005-09/msg00681.html .
(defun ns-toggle-toolbar (&optional frame)
"Switches the tool bar on and off in frame FRAME.
If FRAME is nil, the change applies to the selected frame."
@@ -741,18 +741,20 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
;; FIXME: This doesn't look right. Is there a better way to do this
;; that keeps customize happy?
-(let ((appkit-version (progn
- (string-match "^appkit-\\([^\s-]*\\)" ns-version-string)
- (string-to-number (match-string 1 ns-version-string)))))
- ;; Appkit 1138 ~= macOS 10.7.
- (when (and (featurep 'cocoa) (>= 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 (symbol-value 'mouse-wheel-progressive-speed))))))
+(when (featurep 'cocoa)
+ (let ((appkit-version
+ (progn (string-match "^appkit-\\([^\s-]*\\)" ns-version-string)
+ (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
+ (symbol-value 'mouse-wheel-progressive-speed)))))))
;;;; Color support.
@@ -876,7 +878,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
;; Mac OS X Lion introduces PressAndHold, which is unsupported by this port.
;; See this thread for more details:
- ;; http://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00505.html
+ ;; https://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00505.html
(ns-set-resource nil "ApplePressAndHoldEnabled" "NO")
(x-apply-session-resources)
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index b769444671c..62200bf2cbd 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -1287,7 +1287,7 @@ This returns an error if any Emacs frames are X frames."
;; During initialization, we defer sending size hints to the window
;; manager, because that can induce a race condition:
- ;; http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00033.html
+ ;; https://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00033.html
;; Send the size hints once initialization is done.
(add-hook 'after-init-hook 'x-wm-set-size-hint)