aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/files.el
Commit message (Collapse)AuthorAgeFilesLines
* * files.el (find-file-existing): New function.Jan Djärv2004-11-021-0/+8
| | | | | | | | * 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.
* (set-auto-mode-0): Don't rely on dynamic binding ofKim F. Storm2004-11-011-9/+9
| | | | | keep-mode-if-same variable. Add it as optional arg instead. (set-auto-mode): Call set-auto-mode-0 with keep-mode-if-same.
* (large-file-warning-threshold): Add :version keyword.John Paul Wallington2004-11-011-1/+2
| | | | (kill-some-buffers): Doc fix.
* (set-auto-mode): Call `throw' correctly.John Paul Wallington2004-10-281-1/+1
|
* (set-auto-mode-0): New function.Daniel Pfeiffer2004-10-281-24/+34
| | | | (set-auto-mode): Use it to handle aliased modes and to be consistent between C-x C-f and C-x C-w.
* Tack language suffix onto html, and make C-x C-w find the mode in the same ↵Daniel Pfeiffer2004-10-271-65/+70
| | | | way as C-x C-f.
* Set xml-mode also if no mode found from file name.Daniel Pfeiffer2004-10-271-2/+3
|
* (auto-mode-alist): Add pod, js, xbm and xpm and group trivial variants to ↵Daniel Pfeiffer2004-10-261-115/+105
| | | | | | | 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.
* (insert-directory): Obey --dired even with symlinks.Stefan Monnier2004-09-251-1/+2
|
* (enable-local-eval): Doc fix.Richard M. Stallman2004-09-201-44/+60
| | | | | | | | | | (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.
* files.el (auto-mode-alist): Map .soa and .zone to dns-mode.Simon Josefsson2004-09-141-0/+1
| | | | textmodes/dns-mode.el: Add.
* (switch-to-buffer-other-window): Doc fix.Luc Teirlinck2004-07-111-0/+7
|
* * net/ange-ftp.el (ange-ftp-file-remote-p): New return value,Kai Großjohann2004-06-261-16/+10
| | | | | | | | 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'.
* (write-contents-functions): Doc fix.Lars Hansen2004-06-231-1/+2
|
* (parse-colon-path, cd): Mention in docstring that the path separator isJuanma Barranquero2004-06-161-2/+4
| | | | colon in GNU-like systems.
* (buffer-stale-function): Add hyperlink to emacs-xtra manual to docstring.Luc Teirlinck2004-06-161-1/+4
|
* (before-save-hook): Add `time-stamp' to the options.Luc Teirlinck2004-06-131-1/+1
|
* (parse-colon-path, cd): Doc fixes (refer to `path-separator', not colon).Juanma Barranquero2004-06-111-4/+5
|
* Rework docstring (wording by Eli Zaretskii and Kai Grossjohann).Juanma Barranquero2004-05-301-4/+9
|
* (find-file): Doc fix.Richard M. Stallman2004-05-301-2/+5
|
* (file-remote-p): Apply file name handler for operationMichael Albinus2004-05-291-6/+5
| | | | | | `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.
* (find-file-noselect-1): Do not bind `inhibit-read-only' to t duringLuc Teirlinck2004-05-291-20/+22
| | | | execution of `find-file-not-found-functions'.
* * files.el (file-name-non-special): There are more operationsMichael Albinus2004-05-271-4/+21
| | | | | | | 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.
* (find-file-noselect-1): Fix bug introduced by Revision 1.694.Luc Teirlinck2004-05-251-29/+33
| | | | | | | 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.
* (file-name-non-special): Allow t in file-arg-indicesRichard M. Stallman2004-05-221-6/+14
| | | | | to mean requote the return value. Use `identity' as an element rather than as the whole value.
* (find-file-noselect-1): Limit the scope of theLuc Teirlinck2004-05-201-28/+29
| | | | | | `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'.
* (auto-save-file-name-transforms): Make sure ange-ftp tempStefan Monnier2004-05-191-1/+1
| | | | files files don't contain an accidental additional /.
* (file-truename): Don't mention COUNTER and PREV-DIRS arguments in theJuanma Barranquero2004-05-131-5/+4
| | | | docstring, they're used only in recursive calls.
* (set-visited-file-name, file-expand-wildcards): Fix docstring.Juanma Barranquero2004-05-111-2/+2
|
* (confirm-kill-emacs): Change group from top-level `emacs' to `convenience'.Juri Linkov2004-05-011-1/+1
|
* (locate-file-completion): Handle nil in path-and-suffixes.Richard M. Stallman2004-04-171-8/+15
| | | | | | (file-truename): Expand all ~ constructs directly. (insert-directory): Delete any error msg output by the `insert-directory-program'.
* (insert-directory): Minor whitespace fix in docstring.Luc Teirlinck2004-04-171-1/+1
|
* (buffer-stale-function): Doc change.Luc Teirlinck2004-04-011-2/+4
|
* (buffer-stale-function): Minor doc fix.Luc Teirlinck2004-03-271-4/+4
|
* (buffer-stale-function): Doc fix.Luc Teirlinck2004-03-271-5/+4
|
* (buffer-stale-function): Moved here from autorevert.el.Luc Teirlinck2004-03-271-0/+13
|
* (file-relative-name): Fix last change.Stefan Monnier2004-03-261-1/+1
|
* (file-relative-name): Use compare-strings.Stefan Monnier2004-03-261-10/+11
|
* (insert-directory): Fix bug if SWITCHES is a list.Luc Teirlinck2004-03-211-3/+11
|
* (switch-to-buffer-other-window): BindRichard M. Stallman2004-03-041-2/+5
| | | | | same-window-buffer-names and same-window-regexps to nil. (switch-to-buffer-other-frame): Likewise.
* (auto-mode-alist): Fix .scm, .stk, .ss, .sch entry.John Paul Wallington2004-02-041-1/+1
|
* (read-directory-name): Adapt the docstring to recent change in Fread_file_name.Luc Teirlinck2004-01-311-2/+7
|
* Docstring fix.Stefan Monnier2004-01-141-1/+1
|
* (write-file-functions, write-contents-functions): Clarify docstrings.Luc Teirlinck2004-01-071-2/+11
|
* (before-save-hook): Add.Simon Josefsson2004-01-051-1/+9
| | | | (basic-save-buffer): Use before-save-hook.
* * progmodes/idlwave.el (idlwave-make-tags):Eli Zaretskii2004-01-031-19/+19
| | | | | | | | | | | | | | | * 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.
* (backup-buffer-copy): If MODES is nil, don't set modes.Richard M. Stallman2003-12-291-1/+2
|
* (kill-some-buffers): Doc fix.Eli Zaretskii2003-12-291-2/+3
|
* (risky-local-variable-p): Make second argument optional.Luc Teirlinck2003-11-051-2/+3
|
* (find-file-hook): Customize.Dave Love2003-10-061-4/+9
| | | | (auto-mode-alist): Add .stk, .ss, .sch, .orig.