]> git.eshelyaron.com Git - emacs.git/commit
Avoid macOS NSFilenamesPboardType warning (bug#33035)
authorMattias Engdegård <mattiase@acm.org>
Sun, 10 Jan 2021 16:05:18 +0000 (17:05 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 18 Jan 2021 11:52:08 +0000 (12:52 +0100)
commit36d33776c21b3765b8a611f09ae7d86417abee8a
treed7ad363db5ed0fff1610e60d89a808c05402fc4f
parent3b4050154e3f72c06501cd9a5ad83841b92c7bd6
Avoid macOS NSFilenamesPboardType warning (bug#33035)

* src/nsterm.h (NS_USE_NSPasteboardTypeFileURL): New #define.
* src/nsterm.m (ns_term_init):
([EmacsView performDragOperation:]):
* src/nsselect.m (ns_string_to_symbol):
(nxatoms_of_nsselect):
NSFilenamesPboardType was deprecated in macOS 10.14; use
NSPasteboardTypeFileURL instead when available.
src/nsselect.m
src/nsterm.h
src/nsterm.m