summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-06-17 23:00:12 +0200
committerAlan Pearce2019-06-17 23:00:12 +0200
commit7bad4cc1c3af84c31446872d6d30d1870f0f292f (patch)
tree8cee749509b3bc8bce4ae100c872752b82f2484e
parent50a528f8f0026eb516e190b3a86afbea9ae67b38 (diff)
downloadnixfiles-7bad4cc1c3af84c31446872d6d30d1870f0f292f.tar.lz
nixfiles-7bad4cc1c3af84c31446872d6d30d1870f0f292f.tar.zst
nixfiles-7bad4cc1c3af84c31446872d6d30d1870f0f292f.zip
Emacs: use correct customize function
-rw-r--r--emacs/.emacs.d/main.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index fb6b9418..16f29f60 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -18,14 +18,13 @@
 
 ;;; 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