|
From: | Glenn Morris |
Subject: | bug#25901: 25.2; fit-frame-to-buffer not functional in OS X |
Date: | Wed, 01 Mar 2017 18:43:02 -0500 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
>> ns-display-monitor-attributes-list("gray") >> display-monitor-attributes-list("gray") >> fit-frame-to-buffer() >> funcall-interactively(fit-frame-to-buffer) >> >> "gray" is the hostname of the machine. [...] > Too bad. Does it work when you replace > > (monitor-attributes (car (display-monitor-attributes-list > (frame-parameter frame 'display)))) > > by > > (monitor-attributes (car (display-monitor-attributes-list frame))) > > in 'fit-frame-to-buffer'? So on OS X, (frame-parameter nil 'display) returns a non-nil value that is not acceptable for use in places that need a display? That seems like a recipe for trouble?
[Prev in Thread] | Current Thread | [Next in Thread] |