From: Kenichi Handa Date: Fri, 7 Sep 2007 02:14:55 +0000 (+0000) Subject: (skeleton-internal-1): Use integerp and stringp X-Git-Tag: emacs-pretest-23.0.90~8295^2~341 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=db08e41d23e62a2eb44f044ae050a6967b2937db;p=emacs.git (skeleton-internal-1): Use integerp and stringp instead of char-or-string-p to catch -1. --- diff --git a/lisp/skeleton.el b/lisp/skeleton.el index 4425bb0389a..a49fbdcd954 100644 --- a/lisp/skeleton.el +++ b/lisp/skeleton.el @@ -355,7 +355,7 @@ automatically, and you are prompted to fill in the variable parts."))) (defun skeleton-internal-1 (element &optional literal recursive) (cond - ((char-or-string-p element) + ((or (integerp element) (stringp element)) (if (and (integerp element) ; -num (< element 0)) (if skeleton-untabify