Skip to content

Commit

Permalink
Add mac as possible window-system on Mac OS (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
matsl authored Oct 31, 2023
1 parent 1fcbd5d commit 7decf14
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2023-10-30 Mats Lidell <[email protected]>

* hversion.el (hyperb:mouse-buttons):
hpath.el (hpath:get-external-display-alist): Add mac as possible
window-system on Mac OS.

2023-10-25 Mats Lidell <[email protected]>

* test/hui-tests.el (hui--ibut-link-directly-to-file)
Expand Down
4 changes: 2 additions & 2 deletions hpath.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 1-Nov-91 at 00:44:23
;; Last-Mod: 3-Oct-23 at 17:39:29 by Mats Lidell
;; Last-Mod: 30-Oct-23 at 23:32:24 by Mats Lidell
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
Expand Down Expand Up @@ -1660,7 +1660,7 @@ programs, such as a pdf reader. The cdr of each element may be:
or a function of one filename argument.
See also `hpath:internal-display-alist' for internal,
`window-system' independent display settings."
(cond ((memq window-system '(dps ns))
(cond ((memq window-system '(mac dps ns))
hpath:external-display-alist-macos)
(hyperb:microsoft-os-p
hpath:external-display-alist-mswindows)
Expand Down
4 changes: 2 additions & 2 deletions hversion.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
;; Maintainer: Bob Weiner, Mats Lidell
;;
;; Orig-Date: 1-Jan-94
;; Last-Mod: 3-Oct-23 at 23:31:30 by Mats Lidell
;; Last-Mod: 30-Oct-23 at 23:49:10 by Mats Lidell
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
Expand Down Expand Up @@ -39,7 +39,7 @@

(defvar hyperb:mouse-buttons
(if (or (and hyperb:microsoft-os-p (not (memq window-system '(w32 w64 x))))
(memq window-system '(ns dps)))
(memq window-system '(mac ns dps)))
2 3)
"Number of live buttons available on the mouse.
Override this if the system-computed default is incorrect for
Expand Down

0 comments on commit 7decf14

Please sign in to comment.