Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w

From: Glenn Morris <[email-masked]>
Date: Wed, 16 Feb 2011 16:43:56 -0500

Eli Zaretskii wrote:

> However, since emacs-23 is in deep freeze, I would like to suggest an
> even more conservative change, see below. 

This seems a lot less conservative than setting require-final-newline
to nil at exactly the same location.

> +    ;; Disable adding a newline at the end of the image file when it
> +    ;; is written with, e.g., C-x C-w.
> +    (setq find-file-literally t)