mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Replace NS code that implemented font panels in a different way
* doc/emacs/macos.texi (Mac / GNUstep Events): Document removal of `ns-change-font' event. The font panels are now implemented normally, via `x-select-font'. * lisp/term/common-win.el (x-setup-function-keys): Likewise. * lisp/term/ns-win.el (global-map, ns-popup-font-panel): Remove. (x-select-font, mouse-set-font, ns-input-font): (ns-input-fontsize): Remove. (ns-respond-to-change-font): Delete function. * src/nsfns.m (Fns_popup_font_panel): Delete function. (Fx_select_font): New function. (syms_of_nsfns): Update subrs. * src/nsterm.h (@interface EmacsView): * src/nsterm.m (ns_select_1): New function. (ns_select): Wrap around that instead. ([EmacsView changeFont:]): Exit nested event loop ([EmacsView showFontPanel:]): New function.
This commit is contained in:
parent
7c8bec9e1f
commit
9370a4763a
6 changed files with 103 additions and 102 deletions
|
|
@ -65,7 +65,6 @@
|
|||
(cons 4 'ns-drag-file)
|
||||
(cons 5 'ns-drag-color)
|
||||
(cons 6 'ns-drag-text)
|
||||
(cons 7 'ns-change-font)
|
||||
(cons 8 'ns-open-file-line)
|
||||
;;; (cons 9 'ns-insert-working-text)
|
||||
;;; (cons 10 'ns-delete-working-text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue