Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
表达方式
(frame-parameter nil 'fullscreen)
nil即使在框架最大化时也会返回。
nil
(cdr (assoc 'fullscreen (frame-parameters)))
应该在两边都最大化时返回'fullboth。
我认为这取决于你如何最大化它:如果你只是告诉你的窗口管理器最大化,Emacs 不会知道它。而如果您告诉 Emacs 最大化帧,则fullscreen帧参数应该是非零(如果它是零,则 IOW,您应该将其报告给M-x report-emacs-bug)。
fullscreen
M-x report-emacs-bug