summaryrefslogtreecommitdiff
path: root/lisp/files.el
Commit message (Collapse)AuthorAgeFilesLines
* (make-backup-file-name-function): Fix spellings in docstrings.Juanma Barranquero2005-06-101-1/+1
|
* (hack-local-variables-confirm): New arg FLAG-TO-CHECK.Richard M. Stallman2005-06-061-7/+10
| | | | | | | (hack-one-local-variable, hack-local-variables) (hack-local-variables-prop-line): Pass that arg. (locate-file-completion): Doc fix.
* (convert-standard-filename): Docstring fix.Stefan Monnier2005-05-311-0/+4
|
* (auto-mode-alist): Check GNUmakefile before makefile. Default to ↵Daniel Pfeiffer2005-05-211-3/+6
| | | | makefile-bsdmake-mode on BSD systems.
* Replace `string-to-int' by `string-to-number'.Juanma Barranquero2005-05-161-2/+2
|
* (hack-local-variables-confirm): Add STRING argument.Luc Teirlinck2005-05-141-6/+11
| | | | | | Make the function handle non file visiting buffers correctly. (hack-local-variables-prop-line, hack-local-variables) (hack-one-local-variable): Use STRING arg of `hack-local-variables-confirm'.
* (interpreter-mode-alist, auto-mode-interpreter-regexp): Doc fixes.Luc Teirlinck2005-05-141-8/+7
|
* (auto-mode-alist, interpreter-mode-alist): Set up the new variants of ↵Daniel Pfeiffer2005-05-131-4/+6
| | | | makefile-mode.
* (normal-mode): Extend the scope of the `enable-local-variables'Luc Teirlinck2005-05-121-5/+5
| | | | | binding to include the `set-auto-mode' call. (magic-mode-alist): Doc fix.
* (executable-find): Move from executable.el. Use locate-file.Stefan Monnier2005-05-111-1/+8
|
* (read-directory-name): Fix previous change.Richard M. Stallman2005-05-101-44/+24
| | | | | | (hack-local-variables-confirm): New function. (hack-local-variables-prop-line, hack-local-variables) (hack-one-local-variable): Use it.
* (locate-file): Doc fix.Eli Zaretskii2005-05-061-0/+5
|
* (require-final-newline): Make Custom tags consistentLuc Teirlinck2005-05-011-2/+2
| | | | | with mode-require-final-newline. (mode-require-final-newline): Doc fix.
* (backup-buffer-copy): Use copy-file insteadRichard M. Stallman2005-04-301-6/+4
| | | | of write-region, and put back the 'excl.
* (mode-require-final-newline): Fix previous change.Richard M. Stallman2005-04-241-6/+7
| | | | (require-final-newline): Fix type label.
* (mode-require-final-newline): Revert accidental change.Luc Teirlinck2005-04-241-2/+2
|
* (mode-require-final-newline): Minor doc fix.Luc Teirlinck2005-04-241-3/+3
|
* (mode-require-final-newline): Doc fix.Eli Zaretskii2005-04-241-2/+3
| | | | (backup-buffer-copy): Fix last change.
* (read-directory-name): Always pass non-nilRichard M. Stallman2005-04-231-143/+167
| | | | | | | | | | | DEFAULT-FILENAME arg to read-file-name. (backup-buffer-copy, basic-save-buffer-2): Take care against writing thru an unexpected existing symlink. (revert-buffer): In indirect buffer, revert the base buffer. (magic-mode-alist): Doc fix. (buffer-stale-function): Doc fix. (minibuffer-with-setup-hook): Avoid warning. (mode-require-final-newline): Doc and custom fix.
* (auto-mode-alist): Handle /etc/sysconfig/*,Andreas Schwab2005-04-161-2/+2
| | | | /etc/permissions.d/* and /etc/aliases.d/*.
* (set-auto-mode-1): Use line-end-position.Stefan Monnier2005-04-101-13/+10
|
* (mode-require-final-newline): Make Custom correctly report a nil valueLuc Teirlinck2005-04-011-2/+8
| | | | | and allow to set it to nil via Custom. Doc fix.
* (minibuffer-with-setup-hook): New macro.Stefan Monnier2005-03-281-11/+22
| | | | | | (find-file-read-args): Use it to avoid let-binding minibuffer-with-setup-hook (which breaks turning on/off file-name-shadow-mode while in the prompt).
* (auto-mode-alist): Add .xpi files.Eli Zaretskii2005-03-261-2/+2
|
* (save-some-buffers): Doc fix.Thien-Thi Nguyen2005-03-251-1/+1
|
* (auto-mode-alist): Add comment. Optimize jar/ear/war.Juri Linkov2005-03-191-2/+4
|
* (save-buffer): Fix last change.Eli Zaretskii2005-03-191-4/+5
|
* (save-buffer): Doc fix.Eli Zaretskii2005-03-191-4/+4
|
* (backup-buffer): If the file's directory is not writable,Eli Zaretskii2005-03-191-0/+1
| | | | use copy instead of move to backup the file.
* (hack-local-variables): Do a case-insensitive searchDavid Ponce2005-03-181-4/+5
| | | | for End.
* Change release version from 21.4 to 22.1 throughout.Kim F. Storm2005-02-091-10/+10
| | | | Change development version from 21.3.50 to 22.0.50.
* (normal-backup-enable-predicate): Return nil for filesRichard M. Stallman2005-01-291-2/+7
| | | | in /tmp, regardless of temporary-file-directory.
* (insert-directory): Take care of empty directory, listed without -a switch.Luc Teirlinck2005-01-231-34/+43
|
* (insert-directory): Only look for error lines inAndreas Schwab2005-01-041-5/+3
| | | | | inserted text. Don't move too far after processing --dired markers.
* (basic-save-buffer-1): Fix previous change.Richard M. Stallman2005-01-031-9/+20
|
* (hack-local-variables): Fix last change.Stefan Monnier2005-01-021-79/+79
|
* (hack-local-variables): Cleanup prefix/suffix matching.Stefan Monnier2005-01-021-33/+26
|
* (require-final-newline): Allow `visit' and `visit-save'.Richard M. Stallman2004-12-311-5/+41
| | | | | | (mode-require-final-newline): New option. (after-find-file): Handle require-final-newline with new values. (basic-save-buffer): Handle new values of require-final-newline.
* (revert-buffer): ChangeKenichi Handa2004-12-301-2/+2
| | | | | | explicit-buffer-file-coding-system to buffer-file-coding-system-explicit. (basic-save-buffer-1): Likewise.
* (basic-save-buffer-1): SetKenichi Handa2004-12-301-5/+6
| | | | | | | explicit-buffer-file-coding-system to last-coding-system-used. (revert-buffer): Pay attention to explicit-buffer-file-coding-system (not buffer-file-coding-system) on bind coding-system-for-read.
* (hack-local-variables): If there is no PREFIX, set it to "^".Richard M. Stallman2004-12-301-3/+2
| | | | Redundant variable PREFIXLEN removed.
* Fix typo.Richard M. Stallman2004-12-271-1/+1
|
* (buffer-save-without-query): New var (buffer-local).Richard M. Stallman2004-12-271-32/+130
| | | | | | | | | | | (save-some-buffers): Save those buffers first, w/o asking. (insert-directory-ls-version): New variable. (insert-directory): When ls returns an error, test the version number to decide what the return code means. With --dired output format, detect and distinguish lines that are really error messages. (insert-directory-adj-pos): New function.
* (find-file-other-window, find-file-other-frame):Juri Linkov2004-12-131-33/+55
| | | | | | | | | | | | | | Add the first buffer to the returned value to return the complete list of all visited buffers. (find-file-read-only, find-file-read-only-other-window) (find-file-read-only-other-frame): Use nil for `mustmatch' arg of `find-file-read-args'. Signal an error about non-existent file only if file name doesn't contain wildcards. Toggle read-only in all visited buffers. (find-alternate-file, find-alternate-file-other-window): Add optional arg `wildcards'. Doc fix. Set `wildcards' to t when called interactively. Pass arg `wildcards' to other functions. (find-file-noselect): Doc fix.
* (auto-mode-alist): Map .com to DCL mode.Thien-Thi Nguyen2004-12-101-0/+1
|
* acpid files under /etcDaniel Pfeiffer2004-12-011-1/+1
|
* (auto-mode-alist): Add conf-ppd-mode and inittab.Daniel Pfeiffer2004-11-301-1/+2
|
* (convert-standard-filename): Doc fix.Luc Teirlinck2004-11-141-2/+4
|
* (auto-mode-alist): handle .gtkrc, and under /etc passwd, group, shadow, ↵Daniel Pfeiffer2004-11-141-3/+3
| | | | default/* and pam.d/*.
* (magic-mode-alist): Use optimization for SGML mode too.Juri Linkov2004-11-111-11/+10
| | | | (set-auto-mode): Doc fix. Remove unused variable `xml'.