a bit cleaner lisp code in appearance file

This commit is contained in:
2011-10-03 09:17:17 +01:00
parent 97426ddb7f
commit 8a613380af

View File

@@ -27,19 +27,19 @@
;; Display line numbers globally
(global-linum-mode t)
(if window-system
(setq linum+-smart-format "%%%dd") (setq linum+-smart-format "%%%dd "))
(if window-system
(setq linum+-dynamic-format "%%%dd") (setq linum+-dynamic-format "%%%dd "))
(setq linum+-smart-format "%%%dd" linum+-dynamic-format "%%%dd")
(setq linum+-smart-format "%%%dd " linum+-dynamic-format "%%%dd "))
;; scroll one line at a time (less "jumpy" than defaults)
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1)) ;; one line at a time
mouse-wheel-progressive-speed nil ;; don't accelerate scrolling
mouse-wheel-follow-mouse 't ;; scroll window under mouse
scroll-step 1 ;; keyboard scroll one line at a time
scroll-margin 10)
;; Display whitespace characters globally
(global-whitespace-mode t)
;; scroll one line at a time (less "jumpy" than defaults)
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1))) ;; one line at a time
(setq mouse-wheel-progressive-speed nil) ;; don't accelerate scrolling
(setq mouse-wheel-follow-mouse 't) ;; scroll window under mouse
(setq scroll-step 1) ;; keyboard scroll one line at a time
;; Customize Whitespace Characters
(setq whitespace-display-mappings
(quote ((newline-mark ?\n [ ?\n] [?$ ?\n])