On 2007-12-23 10:57 +0100, Jörg-Volker Peetz wrote:

> since version 22 the function 'find-file-read-only-other-frame' does
> *not switch to read-only mode* normally indicated by the two
> percent-signs in the status line and the contents of the new buffer
> can be changed.

Thanks for the report.  I think the following patch fixes this, can you
please try it?


--- files.el    23 Dez 2007 15:07:56 +0100      1.896.2.32
+++ files.el    23 Dez 2007 15:24:27 +0100      
@@ -1015,9 +1015,11 @@
 documentation for additional customization information."
   (interactive "BSwitch to buffer in other frame: ")
   (let ((pop-up-frames t)
+       ret
        same-window-buffer-names same-window-regexps)
-    (pop-to-buffer buffer t norecord)
-    (raise-frame (window-frame (selected-window)))))
+    (setq ret (pop-to-buffer buffer t norecord)) ; save return value
+    (raise-frame (window-frame (selected-window)))
+    ret))
 
 (defun display-buffer-other-frame (buffer)
   "Switch to buffer BUFFER in another frame.


> I've reported this bug also to [EMAIL PROTECTED]

I can't see it there yet.  Have you got any reply?

Kind regards,
Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to