summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-10-31 11:36:43 +0100
committerGravatar Tom Willemse2014-10-31 11:36:43 +0100
commitf170652c77e73c67bcc5e9ace3ad22e40ed84a03 (patch)
tree2d9fb4f77baa9280642623e955b56a0096afeeb5 /emacs/.emacs.d/init.org
parentbf05b1b11f8960cd96723c677558660521d33fb6 (diff)
downloaddotfiles-f170652c77e73c67bcc5e9ace3ad22e40ed84a03.tar.gz
dotfiles-f170652c77e73c67bcc5e9ace3ad22e40ed84a03.zip
Use pixels when resizing Emacs
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 2dd3341..f138eb2 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -306,6 +306,18 @@
(lambda () (setq mode-line-format nil)))
#+END_SRC
+* Use pixels, not columns/rows to resize frames.
+
+ As of Emacs 24.4 frames can resize to pixel sizes instead of columns
+ and rows. This keeps annoying gaps from forming when using a tiling
+ window manager. The real difference is that when this is done now,
+ the actual text portions of the window get the extra space, not some
+ fringe or margin. This looks much nicer.
+
+ #+BEGIN_SRC emacs-lisp
+ (setq frame-resize-pixelwise t)
+ #+END_SRC
+
* Add org-mode appointments to the diary
Diary offers reminders, which can be useful when scheduling