Browse Source

Do not run in minibuffer

master
10sr 5 years ago
parent
commit
911e17b69d
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      emacs.el

+ 3
- 0
emacs.el View File

@@ -761,6 +761,8 @@ found, otherwise returns nil."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; file handling ;; file handling


(auto-insert-mode 1)

;; fzf ;; fzf


;; Too slow in term buffer! ;; Too slow in term buffer!
@@ -1078,6 +1080,7 @@ found, otherwise returns nil."
(interactive) (interactive)
(let ((l nil)) (let ((l nil))
(when (and company-mode (when (and company-mode
(not (minibufferp))
;; Do nothing when already in company completion ;; Do nothing when already in company completion
(not company-candidates)) (not company-candidates))
(unwind-protect (unwind-protect


Loading…
Cancel
Save