mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-23 18:47:57 +00:00
(insert-file-contents-literally): Bind
inhibit-file-name-handlers and inhibit-file-name-operation, not jka-compr-compression-info-list.
This commit is contained in:
parent
b52b65bdb3
commit
7e36528557
@ -1,3 +1,9 @@
|
||||
2001-03-02 Dave Love <fx@gnu.org>
|
||||
|
||||
* files.el (insert-file-contents-literally): Bind
|
||||
inhibit-file-name-handlers and inhibit-file-name-operation, not
|
||||
jka-compr-compression-info-list.
|
||||
|
||||
2001-03-02 Stefan Monnier <monnier@cs.yale.edu>
|
||||
|
||||
* newcomment.el (comment-normalize-vars): Use [ \t] for the trailing
|
||||
|
@ -1178,11 +1178,12 @@ This function ensures that none of these modifications will take place."
|
||||
(after-insert-file-functions nil)
|
||||
(coding-system-for-read 'no-conversion)
|
||||
(coding-system-for-write 'no-conversion)
|
||||
(jka-compr-compression-info-list nil)
|
||||
(find-buffer-file-type-function
|
||||
(if (fboundp 'find-buffer-file-type)
|
||||
(symbol-function 'find-buffer-file-type)
|
||||
nil)))
|
||||
nil))
|
||||
(inhibit-file-name-handlers '(jka-compr-handler image-file-handler))
|
||||
(inhibit-file-name-operation 'insert-file-contents))
|
||||
(unwind-protect
|
||||
(progn
|
||||
(fset 'find-buffer-file-type (lambda (filename) t))
|
||||
|
Loading…
Reference in New Issue
Block a user