all repos — archive/dotfiles @ 7bad4cc1c3af84c31446872d6d30d1870f0f292f

Superseded by nixfiles

Emacs: use correct customize function
Alan Pearce alan@alanpearce.eu
Mon, 17 Jun 2019 23:00:12 +0200
commit

7bad4cc1c3af84c31446872d6d30d1870f0f292f

parent

50a528f8f0026eb516e190b3a86afbea9ae67b38

1 files changed, 7 insertions(+), 8 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -18,14 +18,13 @@ :custom ((crux-reopen-as-root-mode t))) 
 ;;; Styles
 
-;; I prefer an always-visible cursor.  Feels less distracting.
-(customize-set-variable 'blink-cursor-mode nil)
-
-;; Disable all the bars, unless on OSX, in which case, keep the menu bar.
-
-(customize-set-variable 'menu-bar-mode nil)
-(customize-set-variable 'scroll-bar-mode nil)
-(customize-set-variable 'tool-bar-mode nil)
+(custom-set-variables
+ ;; I prefer an always-visible cursor.  Feels less distracting.
+ '(blink-cursor-mode nil)
+ ;; Disable all the bars, unless on OSX, in which case, keep the menu bar.
+ '(menu-bar-mode nil)
+ '(scroll-bar-mode nil)
+ '(tool-bar-mode nil))
 (set-fringe-mode '(4 . 4))
 
 ;; Ring the bell sometimes, but not so often