]> git.eshelyaron.com Git - emacs.git/commit
Support diminishing to a replacement string as well as to nothing
authorPhil Hudson <phil.hudson@iname.com>
Wed, 21 Nov 2012 00:46:17 +0000 (00:46 +0000)
committerPhil Hudson <phil.hudson@iname.com>
Wed, 21 Nov 2012 00:46:17 +0000 (00:46 +0000)
commitfbead837318534f7b58424d993106620c2e06778
tree702ea0b4783b74ff539a1df1ab82dcea189c5260
parent8b93cee99b4ddee2acce69aff809432913b4be36
Support diminishing to a replacement string as well as to nothing

`diminish' accepts an optional second argument, a replacement string. This change supports all the following arguments to ':diminish':

* package
* (package . "pkg")
* (package1 package2)
* ((package1 . "p1") (package2 . "p2))

The second and fourth formats are new with this change.
lisp/use-package/use-package.el