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
Luc Teirlinck
25802eac0d
(read-directory-name): Adapt the docstring to recent change in Fread_file_name.
2004-01-31 04:38:32 +00:00
Stefan Monnier
074eb6acbe
Docstring fix.
2004-01-14 14:20:45 +00:00
Luc Teirlinck
0eb0202fe2
(write-file-functions, write-contents-functions): Clarify docstrings.
2004-01-07 20:51:14 +00:00
Simon Josefsson
3c3b81d190
(before-save-hook): Add.
...
(basic-save-buffer): Use before-save-hook.
2004-01-05 18:17:41 +00:00
Eli Zaretskii
1550204223
* progmodes/idlwave.el (idlwave-make-tags):
...
* textmodes/flyspell.el (flyspell-large-region):.
* progmodes/make-mode.el (makefile-query-by-make-minus-q):
* emulation/viper-util.el (viper-glob-unix-files):
* emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
* man.el (Man-init-defvars):
* jka-compr.el (jka-compr-call-process):
* files.el (get-free-disk-space,insert-directory):
* ediff-ptch.el (ediff-test-patch-utility):
* ediff-diff.el (ediff-test-utility):
* dired-aux.el (dired-check-process):
* mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
test the return value of call-process, because it can be a string.
2004-01-03 12:12:01 +00:00
Richard M. Stallman
147fbf703d
(backup-buffer-copy): If MODES is nil, don't set modes.
2003-12-29 19:14:03 +00:00
Eli Zaretskii
243a3ae080
(kill-some-buffers): Doc fix.
2003-12-29 14:04:31 +00:00
Luc Teirlinck
40ebe9bdd7
(risky-local-variable-p): Make second argument optional.
2003-11-05 04:06:27 +00:00
Dave Love
564af25832
(find-file-hook): Customize.
...
(auto-mode-alist): Add .stk, .ss, .sch, .orig.
2003-10-06 16:29:50 +00:00
Lute Kamstra
cfdd394e98
Fix typo.
2003-10-02 09:44:01 +00:00