diff options
author | David Li <li.davidm96@gmail.com> | 2016-03-17 21:25:46 -0400 |
---|---|---|
committer | David Li <li.davidm96@gmail.com> | 2016-03-17 21:25:46 -0400 |
commit | 0e02395700cbcc0a746873eb403f9db502e6f66c (patch) | |
tree | b99ac60a1536a5774be3ec3c2df0437476ada6ed | |
parent | 101bdaf49d0aa968bb5abca1818e3005a933b710 (diff) |
Revert margin in Emacs
-rw-r--r-- | init.el | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -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) |