diff options
author | Dave Love <fx@gnu.org> | 2000-06-13 17:55:59 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-06-13 17:55:59 +0000 |
commit | f290ca08fa36d152ee2c3bda959e4f4fdf40d8c1 (patch) | |
tree | f3a5a971dcd6a1f2418e42ad5cf0548e223218ea /lisp/image.el | |
parent | 97aa9c1d5adcb82fc0ba7db927574cac112597c5 (diff) | |
download | emacs-f290ca08fa36d152ee2c3bda959e4f4fdf40d8c1.tar.gz |
(put-image): Default STRING to a space.
Diffstat (limited to 'lisp/image.el')
-rw-r--r-- | lisp/image.el | 4 |
1 files changed, 3 insertions, 1 deletions
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)) |