From f923ed4341f377ed22e45dfff9535cff39904eb3 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 17 Aug 2018 04:34:43 +0200 Subject: [PATCH] Add docstrings to doom-inhibit-switch-*-hooks vars --- core/core.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/core.el b/core/core.el index 2ecfb9913..4613e090d 100644 --- a/core/core.el +++ b/core/core.el @@ -265,8 +265,10 @@ called. The buffer to be switched to is current when these hooks run. Also see `doom-exit-buffer-hook'.") -(defvar doom-inhibit-switch-buffer-hooks nil) -(defvar doom-inhibit-switch-window-hooks nil) +(defvar doom-inhibit-switch-buffer-hooks nil + "Letvar for inhibiting `doom-enter-buffer-hook' and `doom-exit-buffer-hook'.") +(defvar doom-inhibit-switch-window-hooks nil + "Letvar for inhibiting `doom-enter-window-hook' and `doom-exit-window-hook'.") (defun doom*switch-window-hooks (orig-fn window &optional norecord) (if (or doom-inhibit-switch-window-hooks