Permalink
Browse files

Removed old osx fullscreen stuff, doesn't work on homebrew emacs.

  • Loading branch information...
1 parent 1cd6e2a commit 317a1f379715f738e38beec8e3fc9d49597b87b2 John MacFarlane committed Aug 11, 2011
Showing with 0 additions and 12 deletions.
  1. +0 −12 dotemacs.el
View
@@ -80,18 +80,6 @@
(global-set-key (kbd "C-x <up>") 'windmove-up)
(global-set-key (kbd "C-x <down>") 'windmove-down))
-;;; Full screen for OSX
-(defun toggle-fullscreen (&optional f)
- (interactive)
- (let ((current-value (frame-parameter nil 'fullscreen)))
- (set-frame-parameter nil 'fullscreen
- (if (equal 'fullboth current-value)
- (if (boundp 'old-fullscreen) old-fullscreen nil)
- (progn (setq old-fullscreen current-value)
- 'fullboth)))))
-(if (boundp 'osx-key-mode-map)
- (define-key osx-key-mode-map (kbd "A-F") 'toggle-fullscreen))
-
;;; Line cursor not block
(setq-default cursor-type 'bar)

0 comments on commit 317a1f3

Please sign in to comment.