From 0312f8656ab88bf202bc1d2ca8835f2036e051c4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 3 Oct 2018 00:02:01 -0400 Subject: [PATCH] completion/helm: remove +helm-global-prompt This could hide helpful prompt text. Addresses #923 --- modules/completion/helm/config.el | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/modules/completion/helm/config.el b/modules/completion/helm/config.el index 13237f0eb..afca72d1a 100644 --- a/modules/completion/helm/config.el +++ b/modules/completion/helm/config.el @@ -1,8 +1,5 @@ ;;; completion/helm/config.el -*- lexical-binding: t; -*- -(defvar +helm-global-prompt "››› " - "The helm text prompt prefix string is globally replaced with this string.") - (defvar +helm-project-search-engines '(rg ag pt) "What search tools for `+helm/project-search' (and `+helm-file-search' when no ENGINE is specified) to try, and in what order. @@ -114,15 +111,6 @@ be negative.") :config (set-popup-rule! "^\\*helm" :vslot -100 :size 0.22 :ttl nil) - (defun +helm*replace-prompt (plist) - "Globally replace helm prompts with `+helm-global-prompt'." - (cond ((not +helm-global-prompt) plist) - ((keywordp (car plist)) - (plist-put plist :prompt +helm-global-prompt)) - ((setf (nth 2 plist) +helm-global-prompt) - plist))) - (advice-add #'helm :filter-args #'+helm*replace-prompt) - ;; Hide the modeline (defun +helm|hide-mode-line (&rest _) (with-current-buffer (helm-buffer-get)