summary refs log tree commit diff
path: root/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/init.el20
1 files changed, 9 insertions, 11 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index bb3c31e..fc81d5b 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -51,40 +51,38 @@
 ;; reload the buffer when a file changes
 (global-auto-revert-mode 1)
 
+;; global settings for built-in emacs parameters
 (setq
  auto-save-default nil
  auto-save-list-file-prefix nil
+ inhibit-startup-screen t
+ initial-scratch-message nil
  make-backup-files nil
  require-final-newline t
  vc-follow-symlinks t
  next-screen-context-lines 5
+ column-number-mode t
+ ring-bell-function 'ignore
  tab-always-indent 'complete)
 
+;; Set default font
+(set-face-attribute 'default nil :family "Droid Sans Mono" :height 130 :weight 'normal :width 'normal)
+
 ;; turn off indent tabs
 (setq-default indent-tabs-mode nil)
 
 ;; highlight current line
-(global-hl-line-mode 1)
-;; Set default font
-(set-face-attribute 'default nil :family "Droid Sans Mono" :height 130 :weight 'normal :width 'normal)
-
 
+(global-hl-line-mode 1)
 ;; no menu
 (menu-bar-mode -1)
 
 ;; show parenthesis
 (show-paren-mode +1)
 
-;; no startup screen
-(setq inhibit-startup-message t)
-(setq initial-scratch-message "")
-
 ;; no blink cursor
 (blink-cursor-mode -1)
 
-;; show the column number in the mode-line
-(setq column-number-mode t)
-
 (when window-system
   (tool-bar-mode 0)    ;;hide tool-bar
   (scroll-bar-mode 0)  ;;hide scroll-bar