From 0e02395700cbcc0a746873eb403f9db502e6f66c Mon Sep 17 00:00:00 2001
From: David Li
Date: Thu, 17 Mar 2016 21:25:46 -0400
Subject: Revert margin in Emacs
---
init.el | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/init.el b/init.el
index e3ea07a..e52ab1c 100644
--- a/init.el
+++ b/init.el
@@ -19,15 +19,17 @@
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
(set-frame-font (font-spec :family "Input" :size 10.5))
-(defun set-80-editing-columns ()
- "Set the right window margin so the editable space is only 80 columns."
- (interactive)
- (set-window-margins nil 0 (max (- (window-width) 80) 0))
- )
-
-(add-hook 'prog-mode-hook
- (lambda ()
- (setq right-margin-width (max (- (window-width) 80) 0))))
+;; (defun set-80-editing-columns ()
+;; "Set the right window margin so the editable space is only 80 columns."
+;; (interactive)
+;; (setq right-margin-width (max (- (window-width) 80) 0))
+;; (set-window-buffer nil (current-buffer))
+;; )
+
+;; (add-hook 'prog-mode-hook
+;; (lambda ()
+;; (set-80-editing-columns)
+;; ))
;; Powerline
(require 'powerline)
--
cgit v1.2.3