[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/files.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/files.el |
Date: |
Wed, 29 May 2002 12:34:41 -0400 |
Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.577 emacs/lisp/files.el:1.578
*** emacs/lisp/files.el:1.577 Tue May 28 05:08:42 2002
--- emacs/lisp/files.el Wed May 29 12:34:41 2002
***************
*** 1283,1296 ****
(progn
(make-local-variable 'backup-inhibited)
(setq backup-inhibited t)))
! (if rawfile
! (progn
! (set-buffer-multibyte nil)
! (setq buffer-file-coding-system 'no-conversion)
! (make-local-variable 'find-file-literally)
! (setq find-file-literally t))
! (after-find-file error (not nowarn)))
! (current-buffer))))
(defun insert-file-contents-literally (filename &optional visit beg end
replace)
"Like `insert-file-contents', but only reads in the file literally.
--- 1283,1297 ----
(progn
(make-local-variable 'backup-inhibited)
(setq backup-inhibited t)))
! (let ((buffer (current-buffer)))
! (if rawfile
! (progn
! (set-buffer-multibyte nil)
! (setq buffer-file-coding-system 'no-conversion)
! (make-local-variable 'find-file-literally)
! (setq find-file-literally t))
! (after-find-file error (not nowarn)))
! buffer))))
(defun insert-file-contents-literally (filename &optional visit beg end
replace)
"Like `insert-file-contents', but only reads in the file literally.
***************
*** 1472,1477 ****
--- 1473,1479 ----
("\\.p\\'" . pascal-mode)
("\\.pas\\'" . pascal-mode)
("\\.ad[abs]\\'" . ada-mode)
+ ("\\.ad[bs].dg\\'" . ada-mode)
("\\.\\([pP]\\([Llm]\\|erl\\)\\|al\\)\\'" . perl-mode)
("\\.s?html?\\'" . html-mode)
("\\.cc\\'" . c++-mode)
- [Emacs-diffs] Changes to emacs/lisp/files.el, Stefan Monnier, 2002/05/06
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M. Stallman, 2002/05/14
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M. Stallman, 2002/05/19
- [Emacs-diffs] Changes to emacs/lisp/files.el, Miles Bader, 2002/05/20
- [Emacs-diffs] Changes to emacs/lisp/files.el, Markus Rost, 2002/05/22
- [Emacs-diffs] Changes to emacs/lisp/files.el, Dave Love, 2002/05/27
- [Emacs-diffs] Changes to emacs/lisp/files.el, Kim F. Storm, 2002/05/28
- [Emacs-diffs] Changes to emacs/lisp/files.el,
Richard M. Stallman <=
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M. Stallman, 2002/05/30