Revert "config: corfu-terminal on macOS GUI for VoiceOver accessibility"
This reverts commit 190a4ae346.
This commit is contained in:
10
config.el
10
config.el
@@ -662,14 +662,10 @@ Skip for beamer exports — beamer uses adjustbox on plain tabular."
|
||||
(lambda ()
|
||||
(add-hook 'completion-at-point-functions #'yasnippet-capf 0 t)))))
|
||||
|
||||
;; Corfu popup rendering: use overlays instead of child frames.
|
||||
;; On macOS (NS), child frames cause VoiceOver to announce "X window"
|
||||
;; and break focus tracking. corfu-terminal renders via overlays,
|
||||
;; which patch 0007 (overlay completion) handles automatically.
|
||||
;; On terminal Emacs < 31, also needed (31+ handles it natively).
|
||||
;; Corfu popup in terminal — only for Emacs < 31 (31+ handles it natively)
|
||||
(use-package! corfu-terminal
|
||||
:when (or (not (display-graphic-p))
|
||||
(eq window-system 'ns))
|
||||
:when (and (not (display-graphic-p))
|
||||
(< emacs-major-version 31))
|
||||
:after corfu
|
||||
:config
|
||||
(corfu-terminal-mode +1))
|
||||
|
||||
Reference in New Issue
Block a user