Luc Teirlinck
a576d8e299
(convert-standard-filename): Doc fix.
2004-11-14 23:24:14 +00:00
Daniel Pfeiffer
b14f1885d1
(auto-mode-alist): handle .gtkrc, and under /etc passwd, group, shadow, default/* and pam.d/*.
2004-11-14 18:11:57 +00:00
Juri Linkov
811cab8651
(magic-mode-alist): Use optimization for SGML mode too.
...
(set-auto-mode): Doc fix. Remove unused variable `xml'.
2004-11-11 21:42:32 +00:00
Stefan Monnier
32a0479a9d
(magic-mode-alist): Reduce backtracking in the HTML regexp.
2004-11-11 04:52:27 +00:00
Daniel Pfeiffer
55e19d0876
Also do /etc/magic, hosts.allow, hosts.deny etc.
2004-11-10 09:53:24 +00:00
Daniel Pfeiffer
80174d35b9
(auto-mode-alist, magic-mode-alist): Use conf-mode
2004-11-10 00:39:54 +00:00
Daniel Pfeiffer
df4d061346
(set-auto-mode): Don't get error after setting -*-mode-*-.
2004-11-04 20:25:08 +00:00
Richard M. Stallman
89bf74f828
Comment change.
2004-11-04 10:04:16 +00:00
Daniel Pfeiffer
4ac1d37a80
(xml-based-modes): Delete var.
...
(magic-mode-alist): New var.
(set-auto-mode): Use it.
2004-11-03 21:44:49 +00:00
Jan Djärv
46bfc73bed
* files.el (find-file-existing): New function.
...
* menu-bar.el (menu-bar-files-menu): Make "Open File..." call
find-file-existing. Add "New File..." that calls find-file.
* dired.el (dired-read-dir-and-switches): Call read-driectory-name
instead of read-file-name.
2004-11-02 07:57:53 +00:00
Kim F. Storm
3467488ee7
(set-auto-mode-0): Don't rely on dynamic binding of
...
keep-mode-if-same variable. Add it as optional arg instead.
(set-auto-mode): Call set-auto-mode-0 with keep-mode-if-same.
2004-11-01 23:16:42 +00:00
John Paul Wallington
bb8eaf6705
(large-file-warning-threshold): Add :version keyword.
...
(kill-some-buffers): Doc fix.
2004-11-01 07:56:17 +00:00
John Paul Wallington
8a9cdb8db4
(set-auto-mode): Call `throw' correctly.
2004-10-28 10:29:50 +00:00
Daniel Pfeiffer
521cf174c3
(set-auto-mode-0): New function.
...
(set-auto-mode): Use it to handle aliased modes and to be consistent between C-x C-f and C-x C-w.
2004-10-28 06:09:55 +00:00
Daniel Pfeiffer
9e6f54198a
Tack language suffix onto html, and make C-x C-w find the mode in the same way as C-x C-f.
2004-10-27 21:44:35 +00:00
Daniel Pfeiffer
396b39cf4f
Set xml-mode also if no mode found from file name.
2004-10-27 10:27:46 +00:00
Daniel Pfeiffer
bbc6751622
(auto-mode-alist): Add pod, js, xbm and xpm and group trivial variants to shorten the list.
...
(xml-based-modes): New var.
(set-auto-mode): Give interpreter-mode-alist or <?xml or <!DOCTYPE declaration higher priority than auto-mode-alist.
2004-10-26 21:44:20 +00:00
Stefan Monnier
52e281e87a
(insert-directory): Obey --dired even with symlinks.
2004-09-25 15:29:35 +00:00
Richard M. Stallman
e0b2a2d9af
(enable-local-eval): Doc fix.
...
(hack-local-variables): Copy the variables list
to another buffer, strip prefixes and suffixes there, then read.
(enable-local-eval): Doc fix.
(ignored-local-variables): Initialize to nil.
(risky-local-variable-p): Don't check ignored-local-variables here.
(hack-one-local-variable): Ignore var if in ignored-local-variables.
2004-09-20 16:12:57 +00:00
Simon Josefsson
0904599e09
files.el (auto-mode-alist): Map .soa and .zone to dns-mode.
...
textmodes/dns-mode.el: Add.
2004-09-14 11:09:35 +00:00
Luc Teirlinck
839857c7bd
(switch-to-buffer-other-window): Doc fix.
2004-07-11 02:18:15 +00:00
Kai Großjohann
3f78877397
* net/ange-ftp.el (ange-ftp-file-remote-p): New return value,
...
according to new documentation of `file-remote-p'.
* files.el (file-remote-p): Fix doc to say that return value is
identification of remote system, if not nil.
(file-relative-name): Use new return value of `file-remote-p'.
2004-06-26 14:41:13 +00:00
Lars Hansen
7dd11b370c
(write-contents-functions): Doc fix.
2004-06-23 14:38:19 +00:00
Juanma Barranquero
c5994cfa0d
(parse-colon-path, cd): Mention in docstring that the path separator is
...
colon in GNU-like systems.
2004-06-16 23:56:46 +00:00
Luc Teirlinck
c90dcdd560
(buffer-stale-function): Add hyperlink to emacs-xtra manual to docstring.
2004-06-16 01:34:15 +00:00
Luc Teirlinck
25f6295eb3
(before-save-hook): Add `time-stamp' to the options.
2004-06-13 21:32:14 +00:00
Juanma Barranquero
ae135939c9
(parse-colon-path, cd): Doc fixes (refer to `path-separator', not colon).
2004-06-11 01:02:51 +00:00
Juanma Barranquero
915b0bf0ab
Rework docstring (wording by Eli Zaretskii and Kai Grossjohann).
2004-05-30 21:21:42 +00:00
Richard M. Stallman
91174d63b4
(find-file): Doc fix.
2004-05-30 13:34:19 +00:00
Michael Albinus
04621aaa0c
(file-remote-p): Apply file name handler for operation
...
`file-remote-p'. It isn' a property any longer.
(file-relative-name): `fh' and `fd' get the required value via
`find-file-name-handler' already.
2004-05-29 22:42:06 +00:00
Luc Teirlinck
0a11c70bb2
(find-file-noselect-1): Do not bind `inhibit-read-only' to t during
...
execution of `find-file-not-found-functions'.
2004-05-29 01:54:11 +00:00
Michael Albinus
ae3b29834c
* files.el (file-name-non-special): There are more operations
...
which need handling: `find-backup-file-name',
`insert-file-contents', `verify-visited-file-modtime',
`write-region'. Rename t value of method to `add'. Add new
methods `quote' and `unquote-then-quote' to file-arg-indices.
2004-05-27 20:23:31 +00:00
Luc Teirlinck
74dca654a3
(find-file-noselect-1): Fix bug introduced by Revision 1.694.
...
As a side effect, `inhibit-read-only' is again, by default, t during
execution of `find-file-not-found-functions'.
(insert-directory): Check that lines were really inserted by
the --dired switch, before erasing them.
2004-05-25 18:51:07 +00:00
Richard M. Stallman
6750c85288
(file-name-non-special): Allow t in file-arg-indices
...
to mean requote the return value. Use `identity' as an element
rather than as the whole value.
2004-05-22 07:40:41 +00:00
Luc Teirlinck
4edcfd1772
(find-file-noselect-1): Limit the scope of the
...
`inhibit-read-only' binding. Make sure that `inhibit-read-only'
is, by default, nil during the execution of
`find-file-not-found-functions' and `find-file-hook'.
2004-05-20 23:32:27 +00:00
Stefan Monnier
b1e5937ca1
(auto-save-file-name-transforms): Make sure ange-ftp temp
...
files files don't contain an accidental additional /.
2004-05-19 00:30:43 +00:00
Juanma Barranquero
b9963e32a2
(file-truename): Don't mention COUNTER and PREV-DIRS arguments in the
...
docstring, they're used only in recursive calls.
2004-05-13 19:51:57 +00:00
Juanma Barranquero
814af837a2
(set-visited-file-name, file-expand-wildcards): Fix docstring.
2004-05-11 17:32:44 +00:00
Juri Linkov
bdd9ab6e68
(confirm-kill-emacs): Change group from top-level emacs' to
convenience'.
2004-05-01 03:51:49 +00:00
Richard M. Stallman
f2440e42fa
(locate-file-completion): Handle nil in path-and-suffixes.
...
(file-truename): Expand all ~ constructs directly.
(insert-directory): Delete any error msg output by the
`insert-directory-program'.
2004-04-17 19:58:19 +00:00
Luc Teirlinck
60ce7e3e04
(insert-directory): Minor whitespace fix in docstring.
2004-04-17 01:46:53 +00:00
Luc Teirlinck
8b0b693286
(buffer-stale-function): Doc change.
2004-04-01 01:20:20 +00:00
Luc Teirlinck
4f8453aeb3
(buffer-stale-function): Minor doc fix.
2004-03-27 04:05:23 +00:00
Luc Teirlinck
0e3dc638b7
(buffer-stale-function): Doc fix.
2004-03-27 03:54:41 +00:00
Luc Teirlinck
b0dc9757a5
(buffer-stale-function): Moved here from autorevert.el.
2004-03-27 01:08:15 +00:00
Stefan Monnier
3f7d6528a2
(file-relative-name): Fix last change.
2004-03-26 16:21:03 +00:00
Stefan Monnier
7c64272b8c
(file-relative-name): Use compare-strings.
2004-03-26 15:04:35 +00:00
Luc Teirlinck
8f8607bebf
(insert-directory): Fix bug if SWITCHES is a list.
2004-03-21 04:40:38 +00:00
Richard M. Stallman
cf44b9b797
(switch-to-buffer-other-window): Bind
...
same-window-buffer-names and same-window-regexps to nil.
(switch-to-buffer-other-frame): Likewise.
2004-03-04 16:49:23 +00:00
John Paul Wallington
21575d922f
(auto-mode-alist): Fix .scm, .stk, .ss, .sch entry.
2004-02-04 08:21:48 +00:00