|
From: | Kim F. Storm |
Subject: | Re: add info about safe-local-variable to describe-variable |
Date: | Thu, 11 May 2006 15:55:27 +0200 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Reiner Steib <address@hidden> writes: >>> allout-layout > > (lambda (x) (or (numberp x) (listp x) (integerp x) > (member x '(: * + -)))) Simpler (intergerp implies numberp, use memq instead of member): (lambda (x) (or (numberp x) (listp x) (memq x '(: * + -)))) And if `nil' is not a valid value (use consp instead of listp): (lambda (x) (or (numberp x) (consp x) (memq x '(: * + -)))) -- Kim F. Storm <address@hidden> http://www.cua.dk
[Prev in Thread] | Current Thread | [Next in Thread] |