comparison .elisp/settings/50.preferences.el @ 264:b56da15f4444

emacs: enable narrow-to-region
author Augie Fackler <durin42@gmail.com>
date Wed, 02 Nov 2011 09:53:57 -0500
parents e742cf5a748c
children 79a64ef88a6b
comparison
equal deleted inserted replaced
263:14f08dbdba1b 264:b56da15f4444
63 (set-face-attribute 'default nil :height 120)) 63 (set-face-attribute 'default nil :height 120))
64 (t ;; everywhere else 64 (t ;; everywhere else
65 (set-face-attribute 'default nil :height 100))) 65 (set-face-attribute 'default nil :height 100)))
66 ) 66 )
67 (af-gui-init) 67 (af-gui-init)
68
68 ;; use y or n instead of yes or no 69 ;; use y or n instead of yes or no
69 (fset 'yes-or-no-p 'y-or-n-p) 70 (fset 'yes-or-no-p 'y-or-n-p)
71 ;; Enable narrow-to-region, which is disabled by default
72 (put 'narrow-to-region 'disabled nil)
70 73
71 ;; whitespace detection 74 ;; whitespace detection
72 (setq whitespace-style '(trailing tabs lines-tail indentation trailing empty)) 75 (setq whitespace-style '(trailing tabs lines-tail indentation trailing empty))
73 (global-whitespace-mode 1) 76 (global-whitespace-mode 1)
74 77