Richard M. Stallman
c11032b95f
(system-tmp-directory): New variable.
...
(recover-session-finish): Unmark the current line
so that the file being used for recovery will not get deleted.
1998-05-16 03:38:20 +00:00
Richard M. Stallman
0516edee5f
(save-buffer-coding-system): New variable.
...
(basic-save-buffer-1): Obey it.
(basic-save-buffer): Set save-buffer-coding-system instead of
buffer-file-coding-system, if save-buffer-coding-system is already non-nil.
1998-05-11 01:33:54 +00:00
Richard M. Stallman
3b9ffb776b
(set-auto-mode): When just-from-file-name is set, don't
...
actually switch modes if the new mode is the same as the current one.
1998-04-26 04:19:28 +00:00
Geoff Voelker
0627db9cd2
(path-separator): Delete variable.
1998-04-17 05:24:27 +00:00
Karl Heuer
26dd83e682
(find-file-noselect): Set buffer-file-coding-system
...
if RAWFILE.
1998-04-14 18:42:32 +00:00
Richard M. Stallman
04d807e6ce
(hack-one-local-variable): Variables named ...-predicate are treated as risky.
...
(write-file): Omit directory part when making default file name.
1998-04-01 03:44:50 +00:00
Karl Heuer
2fa149b63f
(find-file-noselect): Use set-buffer-multibyte
...
instead of setting enable-multibyte-characters.
1998-03-23 00:14:06 +00:00
Richard M. Stallman
b0d2a9e796
Delete junk accidentally left in buffer on 4 March.
1998-03-12 22:44:12 +00:00
Richard M. Stallman
19618231c3
(basic-save-buffer): Use save-current-buffer not save-excursion.
1998-03-05 04:00:53 +00:00
Richard M. Stallman
e13322a0d9
(auto-mode-alist): Recognize zone-mode.
1998-03-05 02:17:48 +00:00
Kenichi Handa
a91733595d
(insert-directory): Bind coding-system-for-write.
...
Don't encode filename here because call-process encodes the
arguments by codign-system-for-write.
1998-03-03 07:17:56 +00:00
Kenichi Handa
73ba53dc85
(insert-directory): Bind coding-system-for-read to
...
file-name-coding-system or default-file-name-coding-system if
enable-multibyte-characters is non-nil
1998-03-03 01:35:39 +00:00
Karl Heuer
4d49551aee
(set-visited-file-name): Don't call backup-enable-predicate
...
when buffer-file-name is nil.
1998-02-27 22:13:26 +00:00
Karl Heuer
798f4b0a3e
(auto-mode-alist): Add vhdl-mode.
1998-01-18 03:21:25 +00:00
Eli Zaretskii
9263121691
(delete-auto-save-files): Say in the doc string that
...
auto-save file will not be deleted if the buffer has unsaved
changes.
1998-01-07 09:41:30 +00:00
Richard M. Stallman
7b3d6b9c1a
(find-file-noselect): Fix previous change.
1997-12-21 02:34:59 +00:00
Richard M. Stallman
944ef99444
(find-file-noselect): Signal error if file is unreadable.
1997-12-21 02:10:01 +00:00
Karl Heuer
3ad08c112c
(auto-mode-alist): Add .am as makefile-mode.
1997-12-11 07:07:42 +00:00
Karl Heuer
ebff6b7d68
(auto-mode-alist): Add more extensions for perl-mode.
...
(interpreter-mode-alist): Add miniperl.
1997-11-23 02:13:26 +00:00
Karl Heuer
6492b55df7
(write-file): Make buffer writable if the new file is.
1997-11-20 22:00:57 +00:00
Karl Heuer
e0df3aef1f
(rename-uniquely): Simplify.
1997-11-07 21:44:16 +00:00
Karl Heuer
5cb1f7280a
(file-name-non-special): For insert-directory operation,
...
ensure that default-directory is an ordinary file name
before turning off file-name-handler-alist.
1997-10-19 21:02:27 +00:00
Karl Heuer
fe4d985204
(file-name-non-special): If "/:" is the entire file
...
name, make it "/" after stripping.
1997-10-19 20:34:22 +00:00
Karl Heuer
d6e8ea6f54
(basic-save-buffer): Set buffer-file-coding-system to
...
the coding system actually used for saving.
1997-10-19 20:20:15 +00:00
Karl Heuer
a0d809f20e
(revert-without-query): Fix customize type.
1997-10-02 02:57:16 +00:00
Richard M. Stallman
ab85f1b124
(insert-directory): Encode the file name.
1997-09-08 09:56:52 +00:00
Richard M. Stallman
6c4fd4363d
(auto-mode-alist): Handle .m4 and .mc files.
1997-09-06 22:18:47 +00:00
Geoff Voelker
b1667e6c86
(file-truename) [windows-nt]: Use the canonicalized
...
long file name as the truename.
(auto-mode-alist): Use archive-mode for Java JAR files.
(recover-file) [windows-nt]: Don't try to list directory.
1997-09-02 19:38:31 +00:00
Richard M. Stallman
5b4dd2e27e
Fix indentation.
1997-09-01 21:29:44 +00:00
Kenichi Handa
3fa0a9aafd
(hack-local-variables-prop-line): Ignore coding: tag.
...
(hack-one-local-variable): Likewise.
1997-09-01 07:17:07 +00:00
Richard M. Stallman
b9aa953735
(find-file-literally): Doc fix.
1997-08-27 17:25:46 +00:00
Kenichi Handa
b77d82114f
(revert-buffer): Read a file without any code
...
conversion if we are reverting from an auto-saved file.
1997-08-26 11:45:49 +00:00
Kenichi Handa
da30bf98df
(append-to-file): Doc-string fixed.
1997-08-19 10:59:47 +00:00
Richard M. Stallman
9b8ef27ded
(insert-file-literally): New command.
1997-08-11 22:32:01 +00:00
Richard M. Stallman
3e06294d6d
(insert-file-contents-literally): Doc fix.
1997-08-07 02:43:11 +00:00
Richard M. Stallman
31c691c1a1
(cd-absolute): Add missing arg to `error'.
1997-08-05 05:49:10 +00:00
Richard M. Stallman
cb2fdcfa49
(basic-save-buffer-1): Add missing argument for error.
1997-08-04 18:56:42 +00:00
Richard M. Stallman
e65db7b8cf
(insert-file-contents-literally):
...
Bind coding-system-for-read and coding-system-for-write,
and bind jka-compr-compression-info-list instead of
file-name-handler-alist.
(find-file-literally): Simplify and use insert-file-contents-literally.
1997-08-04 03:07:28 +00:00
Richard M. Stallman
16cb44ddb3
(auto-mode-alist): Add ".mf" and ".mp" for meta-mode.el.
...
Add ".clo" for latex-mode.
1997-07-23 20:56:12 +00:00
Richard M. Stallman
7c24fbd234
(find-file-literally): Temporarily remove tar-mode and
...
archive-mode from auto-mode-alist.
1997-07-21 06:16:33 +00:00
Richard M. Stallman
24813e1335
(auto-mode-alist): Recognize .emacs in MSDOG syntax.
1997-07-19 05:39:06 +00:00
Richard M. Stallman
83c6f44650
(set-auto-mode): If -*- line specifies a mode,
...
then even if we don't use it because of just-from-file-name,
still let it prevent taking the mode from a file name.
(basic-save-buffer-1): Clarify error message.
(cd-absolute): Likewise.
1997-07-16 05:30:34 +00:00
Richard M. Stallman
5fc196afb0
(find-file-literally): New function.
1997-07-08 09:57:37 +00:00
Richard M. Stallman
9695aac625
(file-chase-links): When handling .., make newname absolute.
...
Simplify several places.
(file-relative-name): Handle directory names as well as file names.
Don't get fooled by empty directory names, etc.
1997-06-27 09:04:14 +00:00
Richard M. Stallman
ad37509224
(require-final-newline): Fix custom :type.
1997-06-20 02:59:38 +00:00
Richard M. Stallman
b36c3da622
(ctl-x-map): Delete the C-x C-q binding for toggle-read-only.
1997-06-18 20:19:32 +00:00
Richard M. Stallman
2a9fe1e256
(backup, find-file): Make `files' their parent.
...
(view-read-only): New option variable. If
non-nil then buffers visiting files read-only, do it in view mode.
(find-file-read-only, find-file-read-only-other-window)
(find-file-read-only-other-frame): Call toggle-read-only
instead of setting buffer-read-only explicitly.
(toggle-read-only, after-find-file): Handle view-read-only.
(save-some-buffers): Use second argument of view-buffer
instead of setting view-exit-action.
1997-06-18 17:24:59 +00:00
Richard M. Stallman
feaec97dd4
(file-name-non-special): Handle
...
file-name-completion and file-name-all-completions.
1997-06-08 03:26:07 +00:00
Richard M. Stallman
18b9dced5b
(file-name-non-special): Special handling for
...
substitute-in-file-name operation.
1997-05-30 06:38:56 +00:00
Kenichi Handa
912192d19a
(find-file): Delete the facility of handling a prefix
...
argument.
(find-file-other-window, find-file-read-only): Likewise.
(find-file-read-only-other-window): Likewise.
(find-file-read-only-other-frame): Likewise.
(find-alternate-file-other-window, find-alternate-file): Likewise.
(write-file, insert-file, append-to-file): Likewise.
1997-05-28 03:35:36 +00:00