summaryrefslogtreecommitdiff
path: root/lisp/files.el
Commit message (Collapse)AuthorAgeFilesLines
* (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'.
* (magic-mode-alist): Reduce backtracking in the HTML regexp.Stefan Monnier2004-11-111-3/+7
|
* Also do /etc/magic, hosts.allow, hosts.deny etc.Daniel Pfeiffer2004-11-101-2/+2
|
* (auto-mode-alist, magic-mode-alist): Use conf-modeDaniel Pfeiffer2004-11-101-9/+30
|
* (set-auto-mode): Don't get error after setting -*-mode-*-.Daniel Pfeiffer2004-11-041-3/+5
|
* Comment change.Richard M. Stallman2004-11-041-1/+1
|
* (xml-based-modes): Delete var.Daniel Pfeiffer2004-11-031-34/+42
| | | | | (magic-mode-alist): New var. (set-auto-mode): Use it.
* * 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.