Skip to content

Commit

Permalink
wip #40
Browse files Browse the repository at this point in the history
  • Loading branch information
ninrod committed Feb 11, 2017
1 parent 417ecaa commit 160f38f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions emacs/boot.org
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,15 @@ the right."
(lambda () (error "DENIED! don't kill my precious *scratch*!!"))
nil t)) ;; Append at the end of the hook list? no. Buffer-local? yes.
#+END_SRC
*** daemon-p evil-quit
- [[https://github.com/ninrod/dotfiles/issues/40][ninrod/dotfiles#40]]
#+BEGIN_SRC emacs-lisp
(defun ninrod/advice-evil-quit (dumb-evil-quit &rest arguments)
"Ask for confirmation before quitting the last window."
(message "it worked bitch!")
(apply dumb-evil-quit arguments))
(advice-add #'evil-quit :around #'ninrod/advice-evil-quit)
#+END_SRC
** misc
*** ninrod/origami-toggle-node
- with help from [[https://www.reddit.com/r/emacs/comments/580v30/tweaking_origamiel_lisp_and_regexes/][reddit]]
Expand Down

0 comments on commit 160f38f

Please sign in to comment.