* Bring back Emacs 22 by request from Ludovic.

svn path=/nixpkgs/trunk/; revision=18529
This commit is contained in:
Eelco Dolstra
2009-11-22 16:29:15 +00:00
parent 132a1db1ee
commit 11c3e92738
5 changed files with 90 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ rec {
then attrByPath (tail attrPath) default (getAttr attr e)
else default;
/* Return nested attribute set in which an attribute is set. For instance
["x" "y"] applied with some value v returns `x.y = v;' */
setAttrByPath = attrPath: value: