> In other words, replacing (or var "nil") with var would be enough Thanks. Fixed in the patch below. The patch also adds an ert test.