From e44f49bf60e0236d9ad1a46dfaf150464ce45c1a Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 13 Jun 2000 17:54:10 +0000 Subject: (put-image): Default STRING to a space. --- lisp/image.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp/image.el') diff --git a/lisp/image.el b/lisp/image.el index 339e176c223..fe9dd5bfe55 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -122,7 +122,9 @@ AREA is where to display the image. AREA nil or omitted means display it in the text area, a value of `left-margin' means display it in the left marginal area, a value of `right-margin' means display it in the right marginal area." - (unless string (setq string "x")) + ;; Use a space as least likely to cause trouble when it's a hidden + ;; character in the buffer. + (unless string (setq string " ")) (let ((buffer (current-buffer))) (unless (eq (car-safe image) 'image) (error "Not an image: %s" image)) -- cgit v1.2.1