emacs - disable backup
authorPeng Li <seudut@gmail.com>
Thu, 30 Jun 2016 14:38:52 +0000 (22:38 +0800)
committerPeng Li <seudut@gmail.com>
Thu, 30 Jun 2016 14:38:52 +0000 (22:38 +0800)
emacs.d/config.org

index d99baae..5a5582d 100644 (file)
@@ -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