Skip to content

Support Emacs 24.3: might be as simple as removing one use of window-text-pixel-size #220

Description

@oantolin

It seems to me that removing the unique usage of window-text-pixel-size would render ivy usable on Emacs 24.3. I think redefining ivy--resize-minibuffer-to-fit as follows works:

(defun ivy--resize-minibuffer-to-fit ()
  "Resize the minibuffer window so it has enough space to display
all of the text contained in the minibuffer."
  (with-selected-window (minibuffer-window)
    (fit-window-to-buffer)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions