summary refs log tree commit diff
path: root/emacs/custom/fcuny-ui.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-ui.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/custom/fcuny-ui.el b/emacs/custom/fcuny-ui.el
index 16990b3..b7b6ccf 100644
--- a/emacs/custom/fcuny-ui.el
+++ b/emacs/custom/fcuny-ui.el
@@ -45,8 +45,10 @@
     (add-to-list 'default-frame-alist '(fullscreen . maximized))
     (add-to-list 'default-frame-alist '(ns-appearance . nil))
     (add-to-list 'default-frame-alist '(ns-transparent-titlebar . nil))
-    (setq ns-use-native-fullscreen nil)
-    (setq mac-allow-anti-aliasing t))
+    (when (boundp 'ns-use-native-fullscreen)
+      (setq ns-use-native-fullscreen nil))
+    (when (boundp 'mac-allow-anti-aliasing)
+      (setq mac-allow-anti-aliasing t)))
   (when (memq window-system '(x))
     (set-frame-font "Source Code Pro-10")
     ;; this is a fall back in the case we have unicode characeters.