# HG changeset patch # User Miles Bader # Date 981346106 0 # Node ID 3d9c9fe711c423e6707f0cef116d49520a13f1e4 # Parent aedc87e25ce2d0fda09af34f445ba4d4cad3b989 (insert-image-file): When visiting an image, set `truncate-lines' to t so that any fringe arrow looks correct. diff -r aedc87e25ce2 -r 3d9c9fe711c4 lisp/image-file.el --- a/lisp/image-file.el Mon Feb 05 01:20:55 2001 +0000 +++ b/lisp/image-file.el Mon Feb 05 04:08:26 2001 +0000 @@ -1,6 +1,6 @@ ;;; 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 ;; Keywords: multimedia @@ -129,7 +129,10 @@ (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)