From 15832b387782b8f7a961949229a9066b6cdbab29 Mon Sep 17 00:00:00 2001 From: David Florness Date: Fri, 1 Dec 2017 16:27:09 -0700 Subject: [PATCH] Separate appearance configuration --- init.el | 30 +----------------------------- lisp/appearance.el | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 29 deletions(-) create mode 100644 lisp/appearance.el diff --git a/init.el b/init.el index b9cba88..3654e22 100644 --- a/init.el +++ b/init.el @@ -1,32 +1,4 @@ -;;; Change frame title -(setq frame-title-format "emacs") - -;;; Font -(set-frame-font - (font-spec - :name "Source Code Pro" - :size 13 - :weight 'normal - :width 'normal) - nil t) - -;;; Disable menu bar -(menu-bar-mode 0) - -;;; Disable scroll bar -(scroll-bar-mode 0) - -;;; Disable tool bar -(tool-bar-mode 0) - -;;; Turn off cursor blinking -(blink-cursor-mode 0) - -;;; Show column number next to line number in mode line -(column-number-mode) - -;;; Highlight parentheses -(show-paren-mode) +(load-file "~/.emacs.d/lisp/appearance.el") ;;; Winner mode: allows for undoing and redoing of windoow configurations ;;; C-c : undo diff --git a/lisp/appearance.el b/lisp/appearance.el new file mode 100644 index 0000000..6285c36 --- /dev/null +++ b/lisp/appearance.el @@ -0,0 +1,29 @@ +;;; Change frame title +(setq frame-title-format "emacs") + +;;; Font +(set-frame-font + (font-spec + :name "Source Code Pro" + :size 13 + :weight 'normal + :width 'normal) + nil t) + +;;; Disable menu bar +(menu-bar-mode 0) + +;;; Disable scroll bar +(scroll-bar-mode 0) + +;;; Disable tool bar +(tool-bar-mode 0) + +;;; Turn off cursor blinking +(blink-cursor-mode 0) + +;;; Show column number next to line number in mode line +(column-number-mode) + +;;; Highlight parentheses +(show-paren-mode) -- 2.38.4