Richard M. Stallman
f9456b0a5b
(revert-buffer): Use new insert-file-contents replace arg.
1994-02-17 08:19:58 +00:00
Noah Friedman
8db739de39
interpreter-mode-alist: Add modes for awk, gawk, and scm scripts.
1994-02-17 05:52:56 +00:00
Richard M. Stallman
f7da6740ca
(recover-file): Call auto-save-file-name-p correctly.
1994-02-16 18:23:16 +00:00
Richard M. Stallman
c907d15634
(interpreter-mode-alist): New variable.
...
(set-auto-mode): Use that for chosing a mode.
1994-02-16 07:06:10 +00:00
Richard M. Stallman
7ca1d90327
(auto-mode-alist): Add elt for .tcl files.
...
Move texinfo elts up.
1994-02-06 19:33:18 +00:00
Karl Heuer
b1fa544fda
Fix file-relative-name to allow for ancestors as well as descendants.
1994-02-02 04:39:22 +00:00
Richard M. Stallman
e70991d420
(auto-mode-alist): Add .p and .pas for pascal-mode.
1994-02-01 17:46:53 +00:00
Richard M. Stallman
fc51b25190
(revert-buffer): Doc fix.
1994-02-01 03:46:09 +00:00
Karl Heuer
4fbf62eea8
(revert-buffer): reposition after-revert-hook, and add before-revert-hook.
1994-02-01 01:31:37 +00:00
Richard M. Stallman
fb6208a6aa
(revert-buffer): Run after-revert-hook.
1994-01-18 19:13:11 +00:00
Roland McGrath
18cf95028f
Fix typo (extra paren).
1994-01-17 05:24:29 +00:00
Richard M. Stallman
81860e46eb
(set-auto-mode): Handle (REGEXP FUNCTION t) elements.
1994-01-15 15:55:59 +00:00
Richard M. Stallman
ca33ccb548
(abbreviate-file-name): Don't convert / to ~/ when the home dir is /.
1994-01-14 18:06:40 +00:00
Richard M. Stallman
9bb004f619
(auto-mode-alist): Treat changelo like ChangeLog.
1994-01-06 11:45:53 +00:00
Richard M. Stallman
bb15791002
[ms-dos] (make-backup-file-name, backup-file-name-p):
...
Use "*.bak" as backup file name.
(user-init-file): new variable.
1994-01-06 04:30:52 +00:00
Richard M. Stallman
5625c2fc22
(save-some-buffers): Fix previous change.
1994-01-01 06:21:59 +00:00
Richard M. Stallman
93c2b1e794
(save-some-buffers): Reinsert lost code to save abbrevs.
1993-12-31 12:50:12 +00:00
Richard M. Stallman
fea504fb08
(hack-one-local-variable): Treat file-name-handler-alist
...
kand after-load-alist like eval.
1993-12-30 10:51:33 +00:00
Richard M. Stallman
6f93191964
(hack-local-variables-prop-line): If we can't switch-to-buffer
...
in selected window, try another window, then a new frame.
(set-visited-file-name): Don't rename-buffer if buffer
already has the desired name.
(insert-file): Add * to interactive spec.
1993-12-23 03:49:15 +00:00
Richard M. Stallman
7a5a26a68f
(find-backup-file-name): Don't fatal-error on
...
directories that are hard to read; fall back on ~/%backup%.
(file-truename): Treat ~USER like just ~.
1993-11-10 20:41:17 +00:00
Richard M. Stallman
292297c66e
(abbreviated-home-dir): Doc fix.
1993-10-12 20:57:36 +00:00
Richard M. Stallman
51de78c187
(hack-local-variables): If buffer has no file, display its buffer name.
1993-10-09 03:46:57 +00:00
Brian Fox
b19f1da483
(local-write-file-hooks): Make this variable buffer-local.
1993-09-21 07:23:26 +00:00
Richard M. Stallman
65151a1bd4
(directory-abbrev-alist): Doc fix.
1993-09-17 17:51:40 +00:00
Richard M. Stallman
9fa7bfe524
(hack-local-variables-prop-line): Ignore any specification
...
for `mode:', since set-auto-mode has already handled it.
(set-auto-mode): Clean up. Handle more than one `mode:' spec in -*-.
1993-09-11 10:45:25 +00:00
Richard M. Stallman
455d9d28a9
(find-file-noselect): If a find-file-not-found-hook succeeds, clear `error'.
1993-08-15 05:47:03 +00:00
Richard M. Stallman
f862241d81
(backup-inhibited): Doc fix.
1993-08-13 01:17:59 +00:00
Richard M. Stallman
ff78d52034
(after-find-file): Improve warning message about
...
existing file that can't be read.
1993-08-06 18:03:10 +00:00
Richard M. Stallman
2943f983f2
(basic-save-buffer): When we read a file name,
...
use set-visited-file-name to put it in.
1993-07-31 06:40:04 +00:00
Richard M. Stallman
a9fa0bd5a6
(insert-directory): Make sure default-directory is absolute.
...
(set-auto-mode): Fix backwards test involving inhibit-local-variables-regexps.
1993-07-26 05:55:40 +00:00
Richard M. Stallman
c52e4104a1
(parse-colon-path): Really make nil, not ".", for empty path element.
1993-07-22 05:34:53 +00:00
Richard M. Stallman
e33e80e4a1
(parse-colon-path): Turn empty substring into nil.
1993-07-20 22:04:53 +00:00
Richard M. Stallman
93fe0a356f
(ange-ftp-completion-hook-function): New function.
1993-07-20 07:12:30 +00:00
Jim Blandy
a18b7c814d
* files.el (insert-directory): Doc fix.
...
* files.el (insert-directory): If FULL-DIRECTORY-P is non-nil,
add "." component to the end of the path, so that if file is a
symlink, we get the contents of the directory, not the symlink
itself.
1993-07-18 06:40:09 +00:00
Richard M. Stallman
1bf3d47551
(basic-save-buffer): Use after-save-hook.
1993-07-08 20:51:51 +00:00
Richard M. Stallman
77fb6aed82
(file-relative-name): If we use default-directory,
...
call expand-file-name anyway.
1993-07-08 03:04:52 +00:00
Roland McGrath
1e377362be
(basic-save-buffer): Invoke after-save-buffer-hook, not after-save-hook.
1993-07-07 20:25:48 +00:00
Roland McGrath
b3c4423b20
(cd-absolute): Use abbreviate-file-name on expansion of DIR.
1993-07-07 06:26:31 +00:00
Roland McGrath
b4e5a3c7c4
(basic-save-buffer): Invoke after-save-hook, not after-save-hooks.
1993-07-07 05:12:29 +00:00
Richard M. Stallman
e6f0e76cd0
(set-visited-file-name): Rename auto-save file only if it exists.
1993-07-01 20:33:56 +00:00
Richard M. Stallman
c77a81cf65
(set-visited-file-name): Rename the old auto save file.
1993-07-01 18:39:58 +00:00
Richard M. Stallman
3be6243a7d
(insert-file): Report error if file is directory.
1993-06-19 19:07:19 +00:00
Richard M. Stallman
3a8a836d28
(abbreviate-file-name): Match home dir with no / if nothing else follows.
1993-06-13 01:57:02 +00:00
Richard M. Stallman
5ce8bb89cf
(make-directory): By default create dir default-dir.
1993-06-12 06:54:14 +00:00
Richard M. Stallman
c3bf10c278
(file-truename): Don't use expand-file-name to merge
...
a link target into the previous dir. Handle .. and . explicitly.
1993-06-12 01:44:48 +00:00
Richard M. Stallman
30c5ce9c10
(cd): Use file-name-absolute-p.
...
(cd-absolute): No longer interactive.
1993-06-11 16:02:27 +00:00
Richard M. Stallman
4ea836c185
(make-backup-files): Doc fix.
1993-06-11 05:59:16 +00:00
Richard M. Stallman
fec33c0b30
(basic-save-buffer): Cal auto-save-mode with t as arg
...
if and only if auto save was off and default is on.
(set-visited-file-name): Likewise.
1993-06-10 23:35:18 +00:00
Richard M. Stallman
7d3221d7e3
(hack-one-local-variable): Treat ...-hook(s) and ..-function(s)
...
like setting the `eval' variable.
1993-06-10 21:31:56 +00:00
Richard M. Stallman
e98dda8986
(abbreviate-file-name): Make abbreviated-home-dir
...
from `~/', not from just `~'.
1993-06-10 20:44:12 +00:00