summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/testcover.el
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2022-04-19 05:05:17 +0100
committerAlan Third <alan@idiocy.org>2022-04-25 19:08:54 +0100
commit96ec2ac7d0bdb6b1193217b35f7d74d79b7c2033 (patch)
tree4d31569fcccc31e449a72c8f021a9b2668b5e023 /lisp/emacs-lisp/testcover.el
parent42366383c6327e731e286266665d1bb3d6ab1526 (diff)
downloademacs-96ec2ac7d0bdb6b1193217b35f7d74d79b7c2033.tar.gz
emacs-96ec2ac7d0bdb6b1193217b35f7d74d79b7c2033.tar.bz2
emacs-96ec2ac7d0bdb6b1193217b35f7d74d79b7c2033.zip
Fix nsmenu compilation under macOS 10.6
* src/nsmenu.m ([EmacsMenu fillWithWidgetValue:]): Replace modern shorthand dictionary and array definitions. * src/nsterm.h (NSTextAlignmentRight): Redefine if necessary. * src/macfont.m (mac_font_create_preferred_family_for_attributes): isOperatingSystemAtLeastVersion is new in macOS 10.10, so it's probably wrong to use it to check whether we're below 10.9. (mac_font_copy_default_descriptors_for_language): (mac_font_copy_default_name_for_charset_and_languages): It seems these functions are only used on macOS 10.8 and below. * src/nsterm.m ([NSColor colorUsingDefaultColorSpace]): Use the generic colorspace. (ns_parent_window_rect): (ns_frame_scale_factor): ([EmacsWindow setParentChildRelationships]): Fix macOS version stuff. Co-authored-by: Po Lu <luangruo@yahoo.com>
Diffstat (limited to 'lisp/emacs-lisp/testcover.el')
0 files changed, 0 insertions, 0 deletions