summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/package.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-06-07 20:08:54 +0200
committerAndrea Corallo <akrl@sdf.org>2020-06-07 20:08:54 +0200
commit3d576c784b3fa01b4d6b33a4172351b7c3a61660 (patch)
tree527be80e42e172f74af58f3f17fa1eb7b9ae5ad3 /lisp/emacs-lisp/package.el
parentfbf4882a8babd6cab83e78048d5173fef6501393 (diff)
parent53fba73ff2599d2e5f06927d474311dc987a4c4d (diff)
downloademacs-3d576c784b3fa01b4d6b33a4172351b7c3a61660.tar.gz
emacs-3d576c784b3fa01b4d6b33a4172351b7c3a61660.tar.bz2
emacs-3d576c784b3fa01b4d6b33a4172351b7c3a61660.zip
Merge remote-tracking branch 'savannah/master' into dev
Diffstat (limited to 'lisp/emacs-lisp/package.el')
-rw-r--r--lisp/emacs-lisp/package.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 24980ec02f9..904fc9e1094 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -3331,7 +3331,7 @@ If optional arg BUTTON is non-nil, describe its associated package."
'(("install," "delete," "unmark," ("execute" . 1))
("next," "previous")
("Hide-package," "(-toggle-hidden")
- ("refresh-contents," "g-redisplay," "filter," "help")))
+ ("g-refresh-contents," "/-filter," "help")))
(defun package--prettify-quick-help-key (desc)
"Prettify DESC to be displayed as a help menu."
@@ -3339,7 +3339,7 @@ If optional arg BUTTON is non-nil, describe its associated package."
(if (listp (cdr desc))
(mapconcat #'package--prettify-quick-help-key desc " ")
(let ((place (cdr desc))
- (out (car desc)))
+ (out (copy-sequence (car desc))))
(add-text-properties place (1+ place)
'(face (bold font-lock-warning-face))
out)
@@ -3819,6 +3819,9 @@ packages."
(package--has-keyword-p pkg-desc keyword))
(concat "keyword:" (string-join keyword ",")))))
+(define-obsolete-function-alias
+ 'package-menu-filter #'package-menu-filter-by-keyword "27.1")
+
(defun package-menu-filter-by-name (name)
"Filter the \"*Packages*\" buffer by NAME regexp.
Display only packages with name that matches regexp NAME.