From 9d63a6ae6b21a376302494cf6b1730abc100c719 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Thu, 30 Jun 2016 22:38:52 +0800 Subject: [PATCH] emacs - disable backup --- emacs.d/config.org | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/emacs.d/config.org b/emacs.d/config.org index d99baae..5a5582d 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -49,7 +49,6 @@ Set the emacs load path Disable scroll bar, tool-bar and menu-bar #+BEGIN_SRC emacs-lisp :tangle yes :results silent - (scroll-bar-mode 0) (tool-bar-mode 0) (menu-bar-mode 1) @@ -59,9 +58,8 @@ Disable scroll bar, tool-bar and menu-bar (defalias 'yes-or-no-p 'y-or-n-p) (show-paren-mode 1) - - - + ;; don't backupf + (setq make-backup-files nil) #+END_SRC set custom file @@ -82,6 +80,12 @@ Switch the focus to help window when it appears #+END_SRC +Setting scroll right/left +#+BEGIN_SRC emacs-lisp :tangle yes :results silent + ; (global-set-key (kbd "C-,") 'scoll-left) + ; (global-set-key (kbd "C-.") 'scoll-right) +#+END_SRC + * Package Management Tools ** Use-package @@ -165,7 +169,7 @@ Setting the fonts (if window-system (when sd/fixed-font-family (set-frame-font sd/fixed-font-family) - (set-face-attribute 'default nil :font sd/fixed-font-family :height 140) + (set-face-attribute 'default nil :font sd/fixed-font-family :height 130) (set-face-font 'default sd/fixed-font-family))) #+END_SRC -- 2.11.0