Skip to content

Instantly share code, notes, and snippets.

View cefstat's full-sized avatar

Konstantinos Efstathiou cefstat

View GitHub Profile
@cefstat
cefstat / latex-font-lock-keywords.el
Created November 14, 2008 10:44
Show a few TeX math commands with the corresponding Unicode symbol in Emacs
;; Fancy stuff
(setq cefstat/fancy-TeX-pairs
'(("le" . ?≤)
("ge" . ?≥)
("infty" . ?∞)
("times" . ?⨯)
("in" . ?∈)
("ni" . ?∋)
("wedge" . ?∧)
("partial" . ?∂)
@cefstat
cefstat / lion-fullscreen.patch
Created November 10, 2011 19:31
Patch for Emacs fullscreen support under Mac OS X 10.7 (Lion)
=== modified file 'lisp/term/ns-win.el'
--- old/lisp/term/ns-win.el 2011-10-01 20:32:01 +0000
+++ new/lisp/term/ns-win.el 2011-11-10 16:22:51 +0000
@@ -928,6 +928,10 @@
(add-to-list 'frame-creation-function-alist '(ns . x-create-frame-with-faces))
(add-to-list 'window-system-initialization-alist '(ns . ns-initialize-window-system))
+(declare-function ns-toggle-fullscreen-internal "nsfns.m" ())
+(defun ns-toggle-fullscreen ()
+ (interactive)