diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-04-29 09:05:37 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-04-29 09:05:37 +0200 |
commit | 7834a358642cccd7af2b62e69676c48de92d96a6 (patch) | |
tree | 3e8cdaaf28a3dc79f8dc36ae1aea61c34d48ea75 /helm-elisp-package.el | |
parent | bdf6ae12663067bbed28a9a6cf16df7e00b327d7 (diff) |
Remove button props and friends in package buffer.
These props prevent adding any properties to the button placed on the package name.
* helm-elisp-package.el (helm-el-package--init): Do it.
Diffstat (limited to 'helm-elisp-package.el')
-rw-r--r-- | helm-elisp-package.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helm-elisp-package.el b/helm-elisp-package.el index 41810aa1..b5d58544 100644 --- a/helm-elisp-package.el +++ b/helm-elisp-package.el @@ -51,7 +51,8 @@ (declare-function async-byte-recompile-directory "ext:async-bytecomp.el") (defun helm-el-package--init () - (let (package-menu-async) + (let (package-menu-async + (inhibit-read-only t)) (when (null package-alist) (setq helm-el-package--show-only 'all)) (when (and (fboundp 'package--removable-packages) @@ -76,6 +77,8 @@ 'global (with-current-buffer (get-buffer "*Packages*") (setq helm-el-package--tabulated-list tabulated-list-entries) + (remove-text-properties (point-min) (point-max) + '(read-only button follow-link category)) (buffer-string))) (setq helm-el-package--upgrades (helm-el-package-menu--find-upgrades)) (if helm--force-updating-p |