From 7ac155f68d4daf343c16858550428f28cc44eaed Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 23 Jul 2019 02:04:44 +0200 Subject: [PATCH] Fix company help replacing the current buffer Instead of displaying in a popup. --- core/core-editor.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/core-editor.el b/core/core-editor.el index 6edcef53a..3681a3cb5 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -287,8 +287,7 @@ successfully sets indent_style/indent_size.") (defun doom-use-helpful-a (orig-fn &rest args) "Force ORIG-FN to use helpful instead of the old describe-* commands." (cl-letf (((symbol-function #'describe-function) #'helpful-function) - ((symbol-function #'describe-variable) #'helpful-variable) - ((symbol-function #'help-buffer) #'current-buffer)) + ((symbol-function #'describe-variable) #'helpful-variable)) (apply orig-fn args))) (after! apropos