fixups
authorJoerg Jaspert <joerg@debian.org>
Sun, 30 Oct 2016 21:47:23 +0000 (22:47 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 30 Oct 2016 21:47:23 +0000 (22:47 +0100)
.emacs.d/config/emacs.org

index 49eda57..7c16c54 100644 (file)
@@ -332,15 +332,14 @@ For them to work even then, we have to do two things.
 1. We have to set the frame alist. We simple set both,
    =initial-frame-alist= and =default-frame-alist= to the same value here.
    #+BEGIN_SRC emacs-lisp
-  (validate-setq initial-frame-alist '(
-                              (horizontal-scroll-bars . nil)
-                              (vertical-scroll-bars . nil)
-                              (menu-bar-lines . 0)
-                              ))
-  (validate-setq default-frame-alist (copy-alist initial-frame-alist))
+   (setq initial-frame-alist '(
+                               (horizontal-scroll-bars . nil)
+                               (vertical-scroll-bars . nil)
+                               (menu-bar-lines . 0)
+                               (tool-bar-lines . 0)
+                               ))
+   (setq default-frame-alist (copy-alist initial-frame-alist))
 #+END_SRC
-2. We have to disable the toolbar using the customize interface, so you
-   can find that in the [[id:0102208d-fdf6-4928-9e40-7e341bd3aa3a][Customized variables]] section.
 
 *** Hilight current line in buffer
 As it says, it does a hilight of the current line.
@@ -4803,9 +4802,10 @@ Programming in ruby...
 Save and restore the desktop
 #+BEGIN_SRC emacs-lisp
 (use-package desktop
+  :init
+  (setq desktop-path (list jj-cache-dir))
   :config
   (progn
-    (validate-setq desktop-path (list jj-cache-dir))
     (desktop-save-mode 1)
     (defadvice desktop-read (around trace-desktop-errors activate)
       (let ((debug-on-error t))