Changed emacs font and auto-maximized window
This commit is contained in:
parent
da3357de4c
commit
68d0bd4ccd
2 changed files with 11 additions and 12 deletions
|
@ -19,3 +19,10 @@
|
|||
(defun show-whitespace ()
|
||||
(interactive)
|
||||
(whitespace-mode t))
|
||||
|
||||
(defun fullscreen ()
|
||||
(interactive)
|
||||
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
|
||||
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
|
||||
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
|
||||
'(2 "_NET_WM_STATE_MAXIMIZED_HORZ" 0)))
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
(if (eq system-type 'gnu/linux) ; if we're running linux
|
||||
(set-frame-font "-*-tamsyn-medium-*-*-*-15-*-*-*-*-80-*-*"))
|
||||
(add-to-list 'default-frame-alist '(font . "DejaVu Sans Mono-9"))
|
||||
|
||||
(setq inhibit-startup-message t) ; don't show welcome screen
|
||||
(setq require-final-newline t) ; always append a newline to a
|
||||
|
@ -35,13 +34,6 @@
|
|||
(let ((suffix (file-name-extension fname)))
|
||||
(if (string-equal suffix "el")
|
||||
(byte-compile-file fname))))))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
(add-hook 'emacs-startup-hook
|
||||
(lambda ()
|
||||
(fullscreen)))
|
||||
|
|
Loading…
Reference in a new issue