Mercurial > emacs
diff lisp/subr.el @ 90381:65ca8fb66a0d
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-54
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 190-203)
- Update from CVS
- Undo incorrect merge of etc/images/README from Gnus 5.10
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 74-80)
- Update from CVS
- Update from CVS: README: Addition from 5.10.6 tar ball.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sun, 09 Apr 2006 00:38:22 +0000 |
parents | 5754737d1e04 196122ba0b05 |
children | c156f6a9e7b5 |
line wrap: on
line diff
--- a/lisp/subr.el Fri Apr 07 12:02:40 2006 +0000 +++ b/lisp/subr.el Sun Apr 09 00:38:22 2006 +0000 @@ -1916,6 +1916,12 @@ "\\" (substring argument end (1+ end))) start (1+ end))) (concat result (substring argument start))))))) + +(defun string-or-null-p (object) + "Return t if OBJECT is a string or nil. +Otherwise, return nil." + (or (stringp object) (null object))) + ;;;; Support for yanking and text properties.