summaryrefslogtreecommitdiff
path: root/helm-locate.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2019-10-08 08:01:25 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2019-10-08 08:03:01 +0200
commitcfae8a97bb5c677c130da5a90ba467a04edf4068 (patch)
tree1372d6ab760a5f194b6403a76d823f336f18a420 /helm-locate.el
parent8267695a67d3c570e11aaa1682529de724f621ed (diff)
Fix previous commit (#2207)
* helm-locate.el (helm-locate-update-mode-line): Backquote the mode-line form so that argument be evaluated.
Diffstat (limited to 'helm-locate.el')
-rw-r--r--helm-locate.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/helm-locate.el b/helm-locate.el
index c90263e5..ecba5cd5 100644
--- a/helm-locate.el
+++ b/helm-locate.el
@@ -266,14 +266,14 @@ See also `helm-locate'."
"Update mode-line with PROCESS-NAME status information."
(with-helm-window
(setq mode-line-format
- '(" " mode-line-buffer-identification " "
+ `(" " mode-line-buffer-identification " "
(:eval (format "L%s" (helm-candidate-number-at-point))) " "
(:eval (propertize
(format "[%s process finished - (%s results)]"
(max (1- (count-lines
(point-min) (point-max)))
0)
- process-name)
+ ,process-name)
'face 'helm-locate-finish))))
(force-mode-line-update)))