Eli Zaretskii
41ac433f66
(make-backup-file-name-1): Replace slashes with `!'
...
rather than `|' (which is not allowed on Windows). Replace the
drive letters with a string "drive_X".
2000-05-23 13:19:38 +00:00
Gerd Moellmann
9e451c4436
(interpreter-mode-alist): Add `bash2'.
2000-05-23 11:22:08 +00:00
Dave Love
74654c6507
(parse-colon-path): Doc fix.
...
(auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
(set-auto-mode): Use mapc.
2000-05-22 19:29:04 +00:00
Gerd Moellmann
08fb7a1c66
(auto-mode-alist): Add pattern for `.shrc'.
2000-05-19 11:55:50 +00:00
Gerd Moellmann
063381ab4a
(auto-mode-alist): Change EBROWSE' to
BROWSE'.
2000-05-04 21:50:18 +00:00
Gerd Moellmann
1d18bc3a67
(recover-session): Make directories as necessary
...
if they don't exist yet.
2000-05-02 20:09:21 +00:00
Gerd Moellmann
d564f5b60b
(make-auto-save-file-name):
...
Apply auto-save-file-name-transforms to visited file name
before generating auto save file name.
(auto-save-file-name-transforms): New variable.
(backup-enable-predicate):
Correctly test for a file under a temporary directory.
2000-04-29 13:17:48 +00:00
Gerd Moellmann
e1603a09df
(basic-save-buffer-2): Use a template with `$'
...
instead of `#' for VMS.
2000-04-17 15:24:06 +00:00
Stefan Monnier
84e4ce49e6
(backup-enable-predicate): Unquote the lambda.
2000-04-17 10:36:52 +00:00
Gerd Moellmann
01fae1df89
(auto-mode-alist): Add `EBROWSE'.
2000-04-10 13:32:07 +00:00
Dave Love
86724078ea
(backup-enable-predicate): Use temporary-file-directory,
...
small-temporary-file-directory.
(make-backup-file-name-function, backup-directory-alist): New
variables.
(make-backup-file-name-1): New function.
(make-backup-file-name): Use it.
(find-backup-file-name): Likewise. Use format for clarity, not concat.
(file-newest-backup): Use make-backup-file-name.
2000-04-09 17:18:48 +00:00
Gerd Moellmann
18f183760f
(insert-directory): List the total free space
...
along with the used space.
2000-04-03 19:26:43 +00:00
Dave Love
3957c98213
Doc fixes.
...
(file-truename): Include `[' in wildcard characters.
(automount-dir-prefix): Customize.
(find-file-wildcards): Add :version.
(find-file-noselect): Simplify a mapcar call.
2000-03-26 17:07:06 +00:00
Stefan Monnier
bfb857d81e
(find-file-run-dired): Update docstring.
...
(find-directory-functions): New hook.
(find-file-noselect): Run find-directory-functions rather than
calling dired directly.
2000-03-22 03:10:07 +00:00
Dave Love
a1fe6488ec
(load-file): Allow completion to .elc.
2000-03-12 14:42:35 +00:00
Dave Love
ae3d47c61a
(auto-mode-alist): Add configure.in.
2000-03-07 12:17:34 +00:00
Dave Love
fc25634a20
(user-init-file): Don't declare here -- is primitive.
2000-01-19 15:33:54 +00:00
Carsten Dominik
2c56e4a415
(auto-mode-alist) default mode for extension ".pro" set to `idlwave-mode'
1999-12-20 14:24:13 +00:00
Gerd Moellmann
a390d6c6c8
(after-find-file): Fix previous change.
1999-12-12 12:26:53 +00:00
Gerd Moellmann
365e9bce08
(after-find-file): Use auto-save-visited-file-name if set.
1999-12-09 15:23:31 +00:00
Stefan Monnier
707ad06002
(save-some-buffers): Turn EXITING into the more general
...
PRED argument to allow specifying a subset of buffers.
1999-12-07 06:31:32 +00:00
Richard M. Stallman
f3a4b82fe0
(write-file-hooks): Doc fix.
1999-11-26 17:31:26 +00:00
Stefan Monnier
a9fb0b79ab
(auto-mode-alist): add patterns for diff-mode.
1999-11-19 20:14:12 +00:00
Gerd Moellmann
e178969580
(file-local-copy): Remove optional BUFFER argument
...
because that's not used by anything.
1999-11-10 12:11:55 +00:00
Gerd Moellmann
6fdc7533ac
(auto-mode-alist): Add ps-mode for .eps and .ps, case insensitive.
1999-10-12 14:53:08 +00:00
Dave Love
3c0abb26d3
Recognize temporary crontab files.
1999-10-05 11:41:48 +00:00
Richard M. Stallman
8120f98902
(after-find-file): When visiting a backup file, make it read-only.
1999-09-17 20:57:37 +00:00
Richard M. Stallman
4adcd90506
(find-file-noselect): Catch errors in file-expand-wildcards,
...
and use the initial argument as file name directly.
Likewise if nothing matches.
1999-09-11 21:29:11 +00:00
Richard M. Stallman
2cb28a6046
(backup-by-copying-when-privileged-mismatch): New variable.
...
(backup-buffer): Use it.
1999-09-08 07:37:56 +00:00
Eli Zaretskii
128d940d04
(small-temporary-file-directory): Make it nil except on ms-dos.
1999-09-06 11:47:56 +00:00
Eli Zaretskii
9531ab86d9
(small-temporary-file-directory): New variable.
1999-09-02 12:24:54 +00:00
Dave Love
f8b7c3516f
(find-file): Doc fix.
1999-08-26 17:54:28 +00:00
Dave Love
67271658b3
(interpreter-mode-alist): Add make, guile, clisp.
...
(find-file): Doc fix.
1999-08-16 11:41:29 +00:00
Karl Heuer
114d3e869f
Fix typo in copyright date.
1999-08-10 16:43:08 +00:00
Karl Heuer
c741ccc5c1
(after-find-file): Disable View mode if buffer is no
...
longer read-only.
1999-08-10 16:40:14 +00:00
Dave Love
11cfb745a2
(abbreviated-home-dir): Doc fix.
1999-07-29 21:50:47 +00:00
Karl Heuer
a7aa942a03
Comment fix.
1999-07-13 03:39:33 +00:00
Richard M. Stallman
2df32500ab
(revert-buffer): Don't preserve point here.
...
(revert-buffer-insert-file-contents-function): Doc fix.
1999-07-05 22:49:45 +00:00
Karl Heuer
3078f066a2
(auto-mode-alist): Add pike-mode.
1999-06-22 22:43:36 +00:00
Karl Heuer
7f99999ab4
(write-file): When buffer is not already visiting a file,
...
don't put buffer name in the minibuffer, just make it the default.
Also handle just directory as arg usefully in that case.
1999-06-12 03:57:37 +00:00
Kenichi Handa
1e87edf5ef
(recover-file): Recover buffer-file-coding-system.
1999-05-24 02:09:27 +00:00
Dave Love
9ab1910545
[from rms]
...
(find-file-noselect-1): Use abbreviate-file-name when setting
buffer-file-truename.
1999-05-14 09:46:38 +00:00
Karl Heuer
b120e7136d
(find-file-noselect-1): If buffer-file-name has changed
...
after find-file-not-found-hooks runs, recompute the truename.
And don't use FILENAME after that point.
1999-04-29 20:28:43 +00:00
Andreas Schwab
18b0f8cf6e
(file-expand-wildcards): Never consider .' and
..' a
...
wildcard match. Fix regexp that tests if dirpart contains
wildcard characters.
1999-01-29 11:31:33 +00:00
Richard M. Stallman
5b8ed07bb4
(find-file): If find-file-noselect returns a list,
...
do switch-to-buffer on each element.
(find-file-other-window): Likewise for all but the first element.
(find-file-other-frame): Same.
(find-file-noselect): When we expand a wildcard, return a list of buffers.
1999-01-24 20:12:25 +00:00
Richard M. Stallman
243ce842ce
(find-file-noselect): Do wildcard processing only
...
if new arg WILDCARDS is non-nil.
(find-file, find-file-other-window): New arg WILDCARDS.
Default it to non-nil if interactive.
(find-file-other-frame): Likewise.
(find-file-read-only): Likewise.
(find-file-read-only-other-window): Likewise.
(find-file-read-only-other-frame): Likewise.
1999-01-24 20:10:30 +00:00
Karl Heuer
481f215b5e
(auto-save-hook): Defvar this.
1999-01-12 22:20:25 +00:00
Richard M. Stallman
c9afd87f08
(auto-mode-alist): Add sql-mode.
1999-01-11 13:55:15 +00:00
Richard M. Stallman
71a3bb4b1e
(save-buffers-kill-emacs): Show the list of current
...
processes before prompting to kill them and exit.
1999-01-06 23:58:41 +00:00
Andreas Schwab
05e076c7ea
(recover-session): Preserve point when inserting
...
explanation.
1999-01-04 11:57:27 +00:00