roman / golden-ratio.el

Automatic resizing of Emacs windows to the golden ratio
MIT License
588 stars 38 forks source link

Breaks ispell (at least in spacemacs) #64

Open olejorgenb opened 8 years ago

olejorgenb commented 8 years ago

The ispell window is expanded. (eg. try ispell-word)

yangsheng6810 commented 8 years ago

I ran into the same problem, and here is my work around:

(defun pl/ispell-alive-p ()
    (get-buffer ispell-choices-buffer))
(eval-after-load "golden-ratio"
  '(progn
     (golden-ratio-mode 1)
     (add-to-list 'golden-ratio-inhibit-functions 'pl/ispell-alive-p)))