Richard M. Stallman
|
290c2be548
|
(find-file-visit-truename): Fix safe-local-variable value.
|
2007-07-01 03:23:11 +00:00 |
|
Chong Yidong
|
726d9c5bd2
|
(auto-mode-alist): Open `.asd' files in lisp-mode.
|
2007-06-05 15:51:01 +00:00 |
|
Chong Yidong
|
9ff10f6165
|
(auto-mode-alist): Add lower-priority match for names like
ChangeLog.old.
|
2007-06-05 15:48:44 +00:00 |
|
Chong Yidong
|
407876dad2
|
(magic-mode-alist): Remove image-type-auto-detected-p.
(magic-fallback-mode-alist): Add image-type-auto-detected-p.
|
2007-06-04 20:41:15 +00:00 |
|
Richard M. Stallman
|
c022c4c47e
|
(set-auto-mode): Doc fix.
|
2007-05-22 11:42:31 +00:00 |
|
Stefan Monnier
|
c11781dedc
|
(magic-mode-alist, magic-fallback-mode-alist):
Move the *ml, Postscript, and XmCD entries to the fallback part.
|
2007-05-16 16:13:12 +00:00 |
|
Stefan Monnier
|
92228a10a2
|
(magic-fallback-mode-alist): Rename from file-start-mode-alist.
|
2007-05-16 16:07:15 +00:00 |
|
Juanma Barranquero
|
756c496fd0
|
(mode-require-final-newline, require-final-newline, enable-local-variables,
enable-local-eval): Doc fixes.
|
2007-05-14 10:28:06 +00:00 |
|
Richard M. Stallman
|
1477487565
|
(file-start-mode-alist): New variable.
(magic-mode-regexp-match-limit): Doc fix.
(set-auto-mode): Handle file-start-mode-alist.
A little cleanup of structure.
|
2007-05-10 14:48:46 +00:00 |
|
Glenn Morris
|
815fde3466
|
(magic-mode-alist): `<!DOCTYPE HTML' in html-mode.
|
2007-04-23 07:17:08 +00:00 |
|
Glenn Morris
|
e7d313a0ad
|
(magic-mode-alist): Allow for carriage-returns in sgml-mode entries.
|
2007-04-23 01:23:12 +00:00 |
|
Glenn Morris
|
efaa82ff8d
|
(magic-mode-alist): Allow for carriage-returns in html-mode entry.
|
2007-04-23 01:21:11 +00:00 |
|
Chong Yidong
|
4b025f4758
|
Revert 2007-03-25 change.
|
2007-04-13 15:09:37 +00:00 |
|
Chong Yidong
|
0c8e847f89
|
Don't mark default-directory as a safe local var.
|
2007-03-25 17:54:35 +00:00 |
|
David Kastrup
|
12333e2ba5
|
(magic-mode-alist): Require literal "%!PS" string for
magic postscript file detection.
|
2007-03-20 18:36:15 +00:00 |
|
Martin Rudalics
|
8400146f67
|
(basic-save-buffer): Do not set visited filename when
the corresponding directory does not exist or the specified
filename is that of an existing directory.
|
2007-03-20 09:37:57 +00:00 |
|
Chong Yidong
|
c412f81ab8
|
Revert 2006-12-08 change by Kevin Rodgers due to lack of legal papers.
|
2007-03-19 18:29:56 +00:00 |
|
Richard M. Stallman
|
87c6026097
|
(default-directory): Mark safe.
(basic-save-buffer-2): Put proper dir name in error message.
|
2007-03-19 05:40:20 +00:00 |
|
Richard M. Stallman
|
2c5b1db7f5
|
(find-file-noselect): No error if file no longer exists.
Display a message and avoid other questions.
|
2007-03-05 18:46:36 +00:00 |
|
Chong Yidong
|
0c7c413c04
|
(set-auto-mode-0): Use `indirect-function'.
(hack-one-local-variable): Don't reapply current major mode.
|
2007-03-01 17:06:40 +00:00 |
|
Andreas Schwab
|
f215a02f44
|
(hack-one-local-variable-eval-safep): Correct handling
of edebug-form-spec property value. Reported by Johan Bockgård
<bojohan+mail@dd.chalmers.se>.
|
2007-02-25 09:24:29 +00:00 |
|
Juanma Barranquero
|
96e777e169
|
(change-major-mode-with-file-name): Fix typo in docstring.
|
2007-02-11 02:28:57 +00:00 |
|
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 |
|