[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 132c7c15c3 3/3: Restore minibuffer depth indicator if
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 132c7c15c3 3/3: Restore minibuffer depth indicator if the mode is enabled |
Date: |
Thu, 18 Jan 2024 03:59:59 -0500 (EST) |
branch: elpa/helm
commit 132c7c15c3a7cf728fd080c211bc9730236b20a8
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Restore minibuffer depth indicator if the mode is enabled
---
helm-core.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/helm-core.el b/helm-core.el
index e65db47ecb..0ca6d5e70c 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -47,10 +47,12 @@
(declare-function custom-unlispify-tag-name "cus-edit.el")
(declare-function helm-quit-and-find-file "helm-utils.el")
(declare-function linum-mode "linum.el")
+(declare-function minibuffer-depth-setup "mb-depth.el")
(defvar helm-marked-buffer-name)
(defvar display-buffer-function)
(defvar minibuffer-follows-selected-frame)
+(defvar minibuffer-depth-indicate-mode)
;;; Internal Variables
@@ -5665,7 +5667,10 @@ If action buffer is selected, back to the Helm buffer."
front-sticky t))
(prt (if restore helm--prompt helm--action-prompt)))
(erase-buffer)
- (insert (apply #'propertize prt props)))))
+ (insert (apply #'propertize prt props))
+ ;; Restore minibuffer depth indicator if the mode is enabled.
+ (when minibuffer-depth-indicate-mode
+ (minibuffer-depth-setup)))))
(defun helm-show-action-buffer (actions)
(with-current-buffer (get-buffer-create helm-action-buffer)