summaryrefslogtreecommitdiff
path: root/helm-regexp.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-08-27 20:35:40 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-08-27 20:35:40 +0200
commitc6c1cdb0d03a2da5e2079ae6f55438c4009fa0b7 (patch)
tree9c1763a8692af4f9b360d21af67d151c613df9ef /helm-regexp.el
parentc8c7dfbaadbf55f249c670ab7541b136b0d101cb (diff)
Fix default for helm-moccur-buffer-substring-fn-for-modes
* helm-regexp.el (helm-moccur-buffer-substring-fn-for-modes): Add package-menu-mode.
Diffstat (limited to 'helm-regexp.el')
-rw-r--r--helm-regexp.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-regexp.el b/helm-regexp.el
index f278b4bd..51c611da 100644
--- a/helm-regexp.el
+++ b/helm-regexp.el
@@ -73,7 +73,8 @@ Any other non--nil value update after confirmation."
(const :tag "Preserve buffer fontification" t)))
(defcustom helm-moccur-buffer-substring-fn-for-modes
- '((mu4e-headers-mode . buffer-substring))
+ '((mu4e-headers-mode . buffer-substring)
+ (package-menu-mode . buffer-substring-no-properties))
"Alist that allow configuring the function to use for storing a buffer.
Can be one of `buffer-substring' or `buffer-substring-no-properties'.