Permalink
Browse files

Added support for cocoa branch of emacs (window-system is now reporte…

…d as 'ns not 'mac)
  • Loading branch information...
1 parent 34cffed commit 59ca8db6b7b0692518cec979a2d174e75a2e9016 @markhepburn markhepburn committed Jun 10, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 maxframe.el
View
@@ -181,13 +181,13 @@ specified by HEIGHT."
system."
(interactive)
(cond ((eq window-system 'w32) (w32-maximize-frame))
- ((memq window-system '(x mac)) (x-maximize-frame))))
+ ((memq window-system '(x mac ns)) (x-maximize-frame))))
(defun restore-frame ()
"Restores a maximized frame. See `maximize-frame'."
(interactive)
(cond ((eq window-system 'w32) (w32-restore-frame))
- ((memq window-system '(x mac)) (x-restore-frame))))
+ ((memq window-system '(x mac ns)) (x-restore-frame))))
(defalias 'mf 'maximize-frame)

0 comments on commit 59ca8db

Please sign in to comment.