Mercurial > emacs
view move-if-change @ 109992:640cdeb464c1
Improvements to describe-package buffer.
* lisp/help.el (help-map): Bind `C-h P' to describe-package.
* lisp/menu-bar.el (menu-bar-describe-menu): Add describe-package.
* lisp/emacs-lisp/package.el (package-refresh-contents): Catch errors
when downloading archives.
(describe-package-1): Add package commentary.
(package-install-button-action): New function.
(package-menu-mode-map): Bind ? to package-menu-describe-package.
(package-menu-view-commentary): Function removed.
(package-list-packages-internal): Hide the `package' package too.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 25 Aug 2010 23:31:34 -0400 |
parents | 354e0c45cedf |
children | 14a97ab281d5 |
line wrap: on
line source
#!/bin/sh if test -r $2 then if cmp $1 $2 > /dev/null then echo $2 is unchanged rm -f $1 else mv -f $1 $2 fi else mv -f $1 $2 fi