From 7df5e7ce1d154eb2d6db193270bc0429b340c224 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 8 Oct 2016 22:18:51 -0700 Subject: [PATCH] [Emacs] macOS font tweaks --- dotfiles/emacs.d/README.org | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 7f0bda52..2765f578 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -103,6 +103,11 @@ These definitions silence the byte-compiler. (defvar url-callback-function nil) (defvar url-http-extra-headers nil) #+END_SRC + +#+BEGIN_SRC emacs-lisp +;; This variable doesn't exist in old versions of org-mode +(defvar org-show-context-detail) +#+END_SRC ** exec-path-from-shell Sets environment variables by starting a shell. #+BEGIN_SRC emacs-lisp @@ -343,9 +348,12 @@ but provide support for writing custom elisp. :demand t) #+END_SRC *** emit +This is disabled for now until I figure out what to do with emit. #+BEGIN_SRC emacs-lisp (imalison:use-package emit + :disabled t :demand t) +(require 'emit) #+END_SRC *** request #+BEGIN_SRC emacs-lisp @@ -592,7 +600,9 @@ the ~:around~ keyword of advice-add. ** Font Size This was taken from [[http://emacs.stackexchange.com/questions/7583/transiently-adjust-text-size-in-mode-line-and-minibuffer][here]] but it has diverged significantly from the original. #+BEGIN_SRC emacs-lisp -(defvar imalison:default-font-size-pt 120) +(setq imalison:default-font-size-pt + (cond ((eq system-type 'darwin) 120) + ((eq system-type 'gnu/linux) 105))) (cl-defun imalison:set-font-size (&optional (arg 10)) (interactive "p")