bubble up kill-completion-buffer

master
Jacopo De Simoi 9 years ago
parent 2a91fedb68
commit 0a67b47e8d
  1. 18
      global.org

@ -235,6 +235,15 @@
#+BEGIN_SRC emacs-lisp
(setq echo-keystrokes 0.10)
#+END_SRC
** Disable completion buffer
Remove the completion buffer as soon as we get out of the minibuffer
#+BEGIN_SRC emacs-lisp
(add-hook 'minibuffer-exit-hook
'(lambda ()
(let ((buffer "*Completions*"))
(and (get-buffer buffer)
(kill-buffer buffer))) ))
#+END_SRC
* Main packages
** Outshine
#+BEGIN_SRC emacs-lisp
@ -390,14 +399,6 @@
;(require 'wordnik-synonym)
;(global-set-key (kbd "H-=") 'wn/synonym-at-point)
;; * kill annoying completion buffer
(add-hook 'minibuffer-exit-hook
'(lambda ()
(let ((buffer "*Completions*"))
(and (get-buffer buffer)
(kill-buffer buffer)))
))
;; * Time stamps
;; write
;; Time-stamp: <>
@ -456,7 +457,6 @@
;; it does not wark perfectly as some packages are still to be loaded
;; (most notably magit)
(mapc
(lambda (face)
(set-face-attribute face nil :weight 'normal)

Loading…
Cancel
Save