Gerd Moellmann
0720b68be2
(auto-mode-interpreter-regexp): New variable.
...
(set-auto-mode): Use it.
2000-08-08 18:32:10 +00:00
Gerd Moellmann
9facfd265c
(shell-quote-wildcard-pattern): Make sure to return
...
PATTERN, in the Unix case.
2000-08-07 10:06:54 +00:00
Eli Zaretskii
c90596f36f
(shell-quote-wildcard-pattern): New function.
...
(insert-directory): Call it. Only prepend "\" to command on Unix
and GNU/Linux systems.
2000-07-30 13:27:46 +00:00
Andreas Schwab
f1bba07d31
(normal-backup-enable-predicate): Correct
...
interpretation of the return value of compare-strings.
2000-07-26 16:56:22 +00:00
Sam Steingold
34342a07bd
insert-directory: use split-string
2000-07-18 14:18:03 +00:00
Gerd Moellmann
4ff5372025
(basic-save-buffer-2): When temporarily setting
...
file modes, set them to current modes plus 0200, not to 0777.
2000-06-23 07:13:30 +00:00
Eli Zaretskii
b79a846b37
(make-backup-file-name-1): On DOS/Windows, run the
...
backup file name through convert-standard-filename.
2000-06-22 14:58:38 +00:00
Dave Love
d18f678bf0
Rename make-buffer-file-executable-if-script-p.
2000-06-09 09:55:33 +00:00
Dave Love
22ddd29947
(after-save-hook): Customize, with
...
make-buffer-file-executable-if-script-p as an option.
2000-06-09 09:42:05 +00:00
Dave Love
37193ee632
(convert-standard-filename): Doc fix.
...
(normal-backup-enable-predicate): New function.
(backup-enable-predicate): Use it to replace the lambda form.
2000-06-02 18:46:19 +00:00
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