Gerd Moellmann
407b432881
(basic-save-buffer): Don't add a newline if
...
find-file-literally is non-nil.
(find-file-literally): Extend doc string.
2000-11-16 17:04:27 +00:00
Gerd Moellmann
648ec2ff27
(find-file-noselect): When we expand a wildcard, return
...
a list of buffers, as we should do according to the doc string.
2000-10-31 16:55:23 +00:00
Gerd Moellmann
fe50b6abd8
(after-find-file): Don't print any warnings if
...
WARN is nil.
2000-10-24 15:18:19 +00:00
Gerd Moellmann
53bb90cad6
(after-find-file): Don't print a message ``New file''
...
if WARN is nil.
2000-10-24 15:06:14 +00:00
Andrew Innes
446c097e30
(make-backup-file-name-1) [windowsnt, ms-dos]: Remove
...
superfluous calls to subst-char-in-string; instead apply
expand-file-name after convert-standard-filename to ensure
expected directory separators are used.
2000-10-23 17:40:16 +00:00
Eli Zaretskii
e854cc22eb
(auto-mode-alist): Add .dif and .pat as diff-mode extensions, for MS-DOS.
2000-10-17 12:36:26 +00:00
Eli Zaretskii
f26d858e50
(find-backup-file-name) [ms-dos]: If support for long
...
file names is not available, behave as if version-control were set
to never.
2000-10-07 18:49:14 +00:00
Stefan Monnier
9ee45b2cc1
(set-auto-mode): Ignore unknown -*- mode -*- rather than
...
raise an error. This way it can still defaults to a sane value.
2000-10-07 03:05:14 +00:00
André Spiegel
ffc0e1caf1
Fix prev change.
2000-10-04 17:16:59 +00:00
André Spiegel
fa5867f6aa
(basic-save-buffer): Call vc-before-save before saving.
2000-10-04 09:55:21 +00:00
Gerd Moellmann
a12bfcd8ab
(auto-mode-alist): Add pattern for `#*mail*...'.
2000-09-30 12:14:46 +00:00
Sam Steingold
a62fb8a013
(find-file-suppress-same-file-warnings): period in doc string
2000-09-26 16:25:29 +00:00
Gerd Moellmann
8fb3df5935
(find-file-suppress-same-file-warnings): New
...
user-option.
(find-file-noselect): Use it.
2000-09-19 15:14:42 +00:00
Andreas Schwab
d2473540a7
(insert-directory): Don't lose original file name,
...
undoing an undocumented change.
2000-08-17 12:08:26 +00:00
Eli Zaretskii
98532b1215
(recover-file): Call insert-directory instead of
...
invoking `ls' directly.
2000-08-10 10:44:49 +00:00
Eli Zaretskii
17ab9c3980
(insert-directory): Don't call access-file on
...
directories on DOS and Windows.
2000-08-09 12:01:09 +00:00
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