diff --git a/lisp/my/my-view.el b/lisp/my/my-view.el index f1742e40..51e3fc6c 100644 --- a/lisp/my/my-view.el +++ b/lisp/my/my-view.el @@ -22,8 +22,8 @@ Four windows: (interactive) (require 'python) (setq eldoc-echo-area-prefer-doc-buffer t) - (let ((eldoc-echo-area-prefer-doc-buffer t) - (eglot-sync-connect t)) + (setq eglot-sync-connect t) + (let () ;; first make visiting file full and run eglot (delete-other-windows) @@ -35,6 +35,7 @@ Four windows: (other-window 1) ;; (switch-to-buffer (concat "*eldoc*")) + (eldoc-display-in-buffer t nil) (when (get-buffer (eldoc-doc-buffer)) (switch-to-buffer (eldoc-doc-buffer)))