Commit 65e70fc4 authored by Miles Bader's avatar Miles Bader
Browse files

(insert-image-file): When visiting an image, set `truncate-lines' to t

so that any fringe arrow looks correct.
parent 31165028
2001-02-05 Miles Bader <miles@gnu.org>
* image-file.el (insert-image-file): When visiting an image, also
set `truncate-lines' to t so that any fringe arrow looks correct.
2001-02-05 Kenichi Handa <handa@etl.go.jp>
 
* isearch.el (isearch-forward): Add description about input method
......
;;; image-file.el --- Support for visiting image files
;;
;; Copyright (C) 2000 Free Software Foundation, Inc.
;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.
;;
;; Author: Miles Bader <miles@gnu.org>
;; Keywords: multimedia
......@@ -129,7 +129,10 @@ the command `insert-file-contents'."
(when visitingp
;; Inhibit the cursor when the buffer contains only an image,
;; because cursors look very strange on top of images.
(setq cursor-type nil))))
(setq cursor-type nil)
;; This just makes the arrow displayed in the right fringe
;; area look correct when the image is wider than the window.
(setq truncate-lines t))))
rval))
(defun image-file-handler (operation &rest args)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment