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.
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))