mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
; Fix PGTK declare-function mistakes
* lisp/frame.el (pgtk-frame-list-z-order): (frame-list-z-order): * lisp/term/pgtk-win.el (pgtk-hide-emacs): Remove extraneous or incorrect `declare-function's. Reported by Eli Zaretskii <eliz@gnu.org>.
This commit is contained in:
parent
dbfbae8708
commit
8d1aa370d3
2 changed files with 5 additions and 3 deletions
|
|
@ -1993,7 +1993,8 @@ workarea attribute."
|
|||
(declare-function x-frame-list-z-order "xfns.c" (&optional display))
|
||||
(declare-function w32-frame-list-z-order "w32fns.c" (&optional display))
|
||||
(declare-function ns-frame-list-z-order "nsfns.m" (&optional display))
|
||||
(declare-function pgtk-frame-list-z-order "pgtkfns.c" (&optional display))
|
||||
;; TODO: implement this on PGTK.
|
||||
;; (declare-function pgtk-frame-list-z-order "pgtkfns.c" (&optional display))
|
||||
(declare-function haiku-frame-list-z-order "haikufns.c" (&optional display))
|
||||
|
||||
(defun frame-list-z-order (&optional display)
|
||||
|
|
@ -2016,7 +2017,9 @@ Return nil if DISPLAY contains no Emacs frame."
|
|||
((eq frame-type 'ns)
|
||||
(ns-frame-list-z-order display))
|
||||
((eq frame-type 'pgtk)
|
||||
(pgtk-frame-list-z-order display))
|
||||
;; This is currently not supported on PGTK.
|
||||
;; (pgtk-frame-list-z-order display)
|
||||
nil)
|
||||
((eq frame-type 'haiku)
|
||||
(haiku-frame-list-z-order display)))))
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
(defvar pgtk-use-im-context-on-new-connection)
|
||||
|
||||
(declare-function pgtk-use-im-context "pgtkim.c")
|
||||
(declare-function pgtk-hide-emacs "pgtkfns.c" (on))
|
||||
|
||||
(defun pgtk-drag-n-drop (event &optional new-frame force-text)
|
||||
"Edit the files listed in the drag-n-drop EVENT.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue