diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-04-30 17:43:24 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-04-30 17:43:24 +0200 |
| commit | 4ef4ca3c7a9bbda3d2900c3d2340a377743d329a (patch) | |
| tree | 406071c52f6d69f8bf5ce205f80bcbdf5823016e | |
| parent | 319edfbc752569a2f454e3132d59183a2968bc68 (diff) | |
Ensure that case-fold-search=t (See #17)
| -rw-r--r-- | corfu.el | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -180,13 +180,14 @@ Set to nil in order to disable confirmation." (let* ((window-min-height 1) (window-min-width 1) (x-gtk-resize-child-frames - (and - ;; XXX Hack to fix resizing on gtk3/gnome taken from posframe.el - ;; See https://github.com/minad/corfu/issues/17 - (string-match-p "gtk3" system-configuration-features) - (string-match-p "gnome\\|cinnamon" (or (getenv "XDG_CURRENT_DESKTOP") - (getenv "DESKTOP_SESSION") "")) - 'resize-mode)) + (let ((case-fold-search t)) + (and + ;; XXX Hack to fix resizing on gtk3/gnome taken from posframe.el + ;; See https://github.com/minad/corfu/issues/17 + (string-match-p "gtk3" system-configuration-features) + (string-match-p "gnome\\|cinnamon" (or (getenv "XDG_CURRENT_DESKTOP") + (getenv "DESKTOP_SESSION") "")) + 'resize-mode))) (after-make-frame-functions) (edge (window-inside-pixel-edges)) (lh (line-pixel-height)) |
