overtone / emacs-live

M-x start-hacking
http://overtone.github.com/emacs-live/
Other
1.52k stars 241 forks source link

Buffer becomes read-only after using C-o in isearch-mode-map #133

Closed yehe01 closed 8 years ago

yehe01 commented 10 years ago

Following are the code in config/default-bindings.el:

(define-key isearch-mode-map (kbd "C-o")
  (lambda () (interactive)
    (let ((case-fold-search isearch-case-fold-search))
      (occur (if isearch-regexp isearch-string (regexp-quote isearch-string))))))

After using "C-o" in search-mode, popup window occurs and disappears and original buffer becomes read-only.

bpiel commented 9 years ago

Ever figure anything out? My buffer is also becoming read-only. The trigger is different though.