Chong Yidong
a3f83992c5
(magic-mode-alist): Call image-mode instead of image-mode-maybe for
...
autodetected images.
2007-02-09 16:50:00 +00:00
Jason Rumney
e8a84e5ba2
(magic-mode-alist): Use image-mode-maybe rather than
...
image-mode.
2007-01-31 12:37:29 +00:00
Michael Albinus
06531fc3fc
* files.el (get-free-disk-space): Return nil for remote
...
directories.
* net/ange-ftp.el (ange-ftp-ls): In case of wildcards, use "ls"
instead of "dir".
2007-01-30 20:23:38 +00:00
Chong Yidong
5340648dac
(hack-local-variables-confirm): Don't keep trying to read an event
...
from an empty kbd macro.
2007-01-27 19:27:53 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Chong Yidong
38fde45ded
(find-alternate-file): Revert query message to Emacs 21 version.
2007-01-20 19:00:10 +00:00
Eli Zaretskii
fe4e58ec6f
(abbreviate-file-name): Doc fix.
2007-01-06 21:51:04 +00:00
Richard M. Stallman
b98a8e06e6
(find-file-noselect-1, set-visited-file-name):
...
Allow backup-enable-predicate to be nil.
2007-01-04 22:14:32 +00:00
Juanma Barranquero
93e7eeb4d8
(version-control): Doc fix.
2007-01-02 01:26:20 +00:00
Kim F. Storm
bb178aaa96
(auto-mode-case-fold): Doc fix.
2006-12-31 00:34:49 +00:00
Kim F. Storm
94495713bd
(auto-mode-case-fold): New defcustom.
...
(set-auto-mode): If non-nil, perform second case-sensitive pass
through auto-mode-alist if first pass failed.
2006-12-31 00:29:49 +00:00
Richard M. Stallman
6ba7756e5f
(backup-buffer): Show entire backup file name in message.
...
(make-backup-file-name-1): Precompute abs name
but don't lose the relative name.
2006-12-30 06:28:57 +00:00
Juanma Barranquero
305018c684
(magic-mode-alist): Detect image files with `image-type-auto-detected-p'
...
instead of `image-type-from-buffer'.
2006-12-30 01:53:11 +00:00
Kim F. Storm
10ffa2a1ce
(magic-mode-alist): Allow matching file type by
...
calling a function at bob. Check for image types by calling
image-type-from-buffer. Suggested by Juanma Barranquero.
(set-auto-mode): Do it.
2006-12-19 09:04:30 +00:00
Richard M. Stallman
eb0455abe8
(magic-mode-alist): Mark as risky.
...
(make-backup-file-name-1): Expand backup-directory explicitly.
2006-12-17 18:03:26 +00:00
Richard M. Stallman
f368450536
Whitespace change.
2006-12-11 04:40:41 +00:00
Eli Zaretskii
1dd46c2862
(insert-file-1): Compare file size to large-file-warning-threshold and request
...
confirmation when warranted.
2006-12-08 18:05:12 +00:00
Richard M. Stallman
b2d239c1ba
(revert-buffer): Special error message if file is now not readable.
2006-11-28 02:20:32 +00:00
Juanma Barranquero
674b7bae63
(set-visited-file-name): Use format', not
message', in `y-or-n-p' call.
2006-11-13 10:24:55 +00:00
Kenichi Handa
52f9b7513f
(revert-buffer): Fix previous change.
2006-11-10 01:16:26 +00:00
Kenichi Handa
e1ee3b548b
(revert-buffer): If a unibyte buffer is being reverted
...
with a coding system for multibyte, set buffer multibyte before
calling insert-file-contents.
2006-10-30 07:40:14 +00:00
Richard M. Stallman
5c471b12bc
(file-name-history): Add defvar.
...
(save-some-buffers-action-alist): Improve description strings.
2006-10-12 23:00:44 +00:00
Andreas Schwab
c595fad9d8
(auto-mode-alist): Match change log file name also with
...
a dash before a numeric extension.
2006-10-12 12:11:48 +00:00
Reiner Steib
1eb1a906aa
Mark `buffer-read-only' as safe-local-variable.
2006-10-08 11:34:29 +00:00
Eli Zaretskii
63c8abc42a
(find-file-existing): Modified to not allow wildcards.
2006-09-30 10:02:22 +00:00
Chong Yidong
16abdbe639
* files.el (save-some-buffers-action-alist): Display diff in
...
view-mode.
2006-09-22 15:01:41 +00:00
Stefan Monnier
02bb2aabef
(find-buffer-visiting): Don't get fooled by a nil inode.
2006-09-20 17:35:01 +00:00
Richard M. Stallman
cc5a104d66
(risky-local-variable-p): Match ...-bindat-spec.
2006-09-08 11:58:46 +00:00
Stefan Monnier
e959542d99
(abbreviate-file-name): Don't mistakenly match newlines in file name.
2006-09-06 16:32:18 +00:00
Eli Zaretskii
18b28ef18f
(convert-standard-filename): For Cygwin, replace characters not allowed in
...
Windows file names.
(make-auto-save-file-name): Add Cygwin to the list of systems where the
auto-save file name needs to be run through convert-standard-filename.
2006-07-29 12:05:28 +00:00
Stefan Monnier
ba83982b7f
Remove spurious * in docstrings.
2006-07-16 04:28:10 +00:00
Richard M. Stallman
e1cac5702d
(locate-file-completion): Avoid duplicates in result.
2006-07-12 15:57:07 +00:00
Chong Yidong
077f47e2a5
* files.el (find-alternate-file): Doc fix.
2006-07-06 13:55:49 +00:00
Richard M. Stallman
f663a1ce37
(abbreviate-file-name): Add save-match-data.
2006-07-05 17:13:28 +00:00
Stefan Monnier
e442c62b56
(find-file-noselect-1): Remove unused var assignment.
...
(hack-local-variables-confirm): Print lists of strings as lists of
strings rather than lists of symbols.
(abbreviate-file-name, hack-local-variables-prop-line):
Use match-string.
(hack-one-local-variable): Move `make-local-variable' nearer its use.
(recover-session-finish): Use line-end-position.
2006-07-02 14:26:53 +00:00
Eli Zaretskii
e0d8fc91ce
Fix a comment.
2006-06-23 10:38:24 +00:00
Chong Yidong
a548f3d70a
* files.el (hack-local-variables): Run `hack-local-variables-hook'
...
whether or not a local variables list is defined.
2006-06-20 22:22:33 +00:00
Richard M. Stallman
562ca53878
(find-file-noselect): Improve the question wording.
...
(basic-save-buffer-2): Mask UMASK against 666.
2006-06-19 21:48:41 +00:00
Richard M. Stallman
730df8dbd5
(basic-save-buffer-2): For a new precious file,
...
use the default modes in the return value.
2006-06-16 15:14:40 +00:00
Thien-Thi Nguyen
15a8ea0ca6
(hack-local-variables-confirm):
...
Display string value using its printed representation.
2006-06-12 07:52:05 +00:00
Kenichi Handa
1314c787eb
(hack-local-variables-prop-line)
...
(hack-local-variables): Cancel the previous change.
2006-06-07 01:20:28 +00:00
Kenichi Handa
8a3d7ed346
(hack-local-variables): Ignore char-trans' as well as
coding'.
2006-06-02 06:34:00 +00:00
Kenichi Handa
c55122c321
(hack-local-variables-prop-line): Ignore `char-trans'
...
as well as `coding'.
2006-06-02 06:28:13 +00:00
Daniel Pfeiffer
8088bb2ca5
(auto-mode-alist): Add makepp suffix and optional mk on Makeppfile.
2006-05-30 06:59:56 +00:00
Stefan Monnier
b486a098cb
(hack-one-local-variable-eval-safep): Don't burp if used
...
during bootstrapping.
2006-05-29 05:47:29 +00:00
Chong Yidong
920e95c0c3
* files.el (backup-buffer-copy): Remove deleted MUSTBENEW argument
...
to copy-file.
2006-05-26 15:21:21 +00:00
Richard M. Stallman
3248328097
(file-name-extension): Doc fix.
2006-05-17 22:54:35 +00:00
Eli Zaretskii
03210c3ae6
(auto-mode-alist): Add .lha files to archive file extensions.
2006-05-16 18:33:31 +00:00
Stefan Monnier
1d0ec0d176
Trivial typo.
2006-05-16 03:35:46 +00:00
Reiner Steib
e48335de35
(version-control): Correct safe values.
2006-05-12 12:29:08 +00:00