- 01 Jul, 2012 1 commit
-
-
Eli Zaretskii authored
lisp/files.el (file-relative-name): Compare file names case-insensitively if on MS-Windows or MS-DOS, or if read-file-name-completion-ignore-case is non-nil. Don't use case-fold-search for this purpose.
-
- 07 May, 2012 1 commit
-
-
Glenn Morris authored
-
- 06 May, 2012 1 commit
-
-
Glenn Morris authored
-
- 10 Apr, 2012 1 commit
-
-
Glenn Morris authored
-
- 01 Apr, 2012 1 commit
-
-
Chong Yidong authored
* lisp/files.el (file-in-directory-p): Rename from file-subdir-of-p. Handle root directory properly. (copy-directory): Caller changed. * lisp/dired-aux.el (dired-copy-file-recursive, dired-create-files): * lisp/net/tramp.el (tramp-file-name-for-operation): Callers changed. * doc/lispref/files.texi (Kinds of Files): file-subdir-of-p renamed to file-in-directory-p.
-
- 30 Mar, 2012 1 commit
-
-
Thierry Volpiatto authored
* dired-aux.el (dired-copy-file-recursive, dired-create-files): Check if file is a symlink (Bug#10489). * files.el (copy-directory): Likewise.
-
- 26 Mar, 2012 1 commit
-
-
Glenn Morris authored
* doc/lispref/os.texi (Killing Emacs): Copyedits. (Suspending Emacs): Copyedits. Mention not very relevant with GUIs. Shorten the example, use more standard shell prompts. * lisp/files.el (save-buffers-kill-emacs): Doc fix.
-
- 21 Mar, 2012 1 commit
-
-
Stefan Monnier authored
Fixes: debbugs:11055
-
- 09 Mar, 2012 1 commit
-
-
Glenn Morris authored
* lisp/files.el (dir-locals-find-file): Don't check result is regular, readable. (dir-locals-read-from-file): Demote errors.
-
- 08 Mar, 2012 1 commit
-
-
Glenn Morris authored
* lisp/files.el (locate-dominating-file, dir-locals-find-file): Undo 2012-03-06 change.
-
- 06 Mar, 2012 3 commits
-
-
Glenn Morris authored
* lisp/files.el (locate-dominating-file): Add optional predicate argument. (dir-locals-find-file): Make use of above change.
-
Glenn Morris authored
* lisp/files.el (dir-locals-find-file): Ignore non-readable or non-regular files.
-
Glenn Morris authored
-
- 01 Mar, 2012 1 commit
-
-
Michael Albinus authored
access of FILE2, if FILE1 does not exist.
-
- 28 Feb, 2012 2 commits
-
-
thierry volpiatto authored
Now return nil when one or both files doesn't exists. (file-subdir-of-p): Now only top directory must exists, return nil if it doesn't. (copy-directory): No need to test with `file-subdir-of-p' after creating dir. * tramp.el (tramp-file-name-for-operation): Rename `files-equal-p' to `file-equal-p'. * files.texi: Rename `files-equal-p' to `file-equal-p'.
-
-
- 26 Feb, 2012 1 commit
-
-
Chong Yidong authored
* lisp/files.el (files-equal-p): Doc fix. (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp, and quit the loop once a mismatch is found. * doc/lispref/files.texi (Kinds of Files): Improve documentation of files-equal-p and file-subdir-of-p.
-
- 24 Feb, 2012 2 commits
-
-
Glenn Morris authored
-
thierry volpiatto authored
* lisp/files.el (files-equal-p): New, simple equality check between two filename. (file-subdir-of-p): New, Check if dir1 is subdir of dir2. (copy-directory): Return error when trying to copy a directory on itself. Add missing copy-contents arg to tramp handler. * lisp/dired-aux.el (dired-copy-file-recursive): Same. (dired-create-files): Modify destination when source is equal to dest when copying files. Return also when dest is a subdir of source.
-
- 10 Feb, 2012 1 commit
-
-
Glenn Morris authored
* doc/lispref/files.texi (Magic File Names): Tweak remote-file-name-inhibit-cache entry. * lisp/files.el (remote-file-name-inhibit-cache): Doc fixes. * etc/NEWS: Edits.
-
- 09 Feb, 2012 1 commit
-
-
Glenn Morris authored
-
- 04 Feb, 2012 1 commit
-
-
Glenn Morris authored
* doc/lispref/backups.texi (Reverting): Mention revert-buffer-in-progress-p. * lisp/files.el (revert-buffer): Doc fix (mention revert-buffer-in-progress-p). * etc/NEWS: Related markup.
-
- 23 Jan, 2012 1 commit
-
-
Paul Eggert authored
-
- 21 Jan, 2012 1 commit
-
-
Glenn Morris authored
* lisp/files.el (local-enable-local-variables): Doc fix. (inhibit-local-variables-regexps): Rename from inhibit-first-line-modes-regexps. Keep old name as obsolete alias. Doc fix. Add some extensions from auto-coding-alist. (inhibit-local-variables-suffixes): Rename from inhibit-first-line-modes-suffixes. Doc fix. (inhibit-local-variables-p): New function, extracted from set-auto-mode-1. (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps. (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p. (hack-local-variables): Doc fix. Make the mode-only case respect enable-local-variables and friends. Respect inhibit-local-variables-regexps for file-locals, but not for directory-locals. (set-visited-file-name): Take account of inhibit-local-variables-regexps. Whether it applies may change as the file name is changed. * lisp/jka-cmpr-hook.el (jka-compr-install): * lisp/jka-compr.el (jka-compr-uninstall): Update for inhibit-first-line-modes-suffixes name change. * etc/NEWS: Mention this change. Fixes: debbugs:10506
-
- 18 Jan, 2012 1 commit
-
-
Glenn Morris authored
* lisp/files.el (auto-mode-alist, inhibit-first-line-modes-regexps) (set-auto-mode): Doc fixes.
-
- 11 Jan, 2012 1 commit
-
-
Glenn Morris authored
-
- 06 Jan, 2012 1 commit
-
-
Chong Yidong authored
* doc/emacs/custom.texi (Specifying File Variables): The mode: keyword doesn't have to be first anymore. Add example of specifying minor modes. (Directory Variables): Simplify example. Mention application to non-file buffers. (Disabling): Use "initialization file" terminology. (Init Examples): Fix hook example. * doc/lispref/variables.texi (Directory Local Variables): Document hack-dir-local-variables-non-file-buffer. * lisp/files.el (hack-dir-local-variables-non-file-buffer): Add doc. (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode functions, along with 1 and -1.
-
- 05 Jan, 2012 1 commit
-
-
Glenn Morris authored
-
- 29 Dec, 2011 1 commit
-
-
Paul Eggert authored
-
- 21 Dec, 2011 1 commit
-
-
Drew Adams authored
-
- 04 Dec, 2011 1 commit
-
-
Paul Eggert authored
-
- 28 Nov, 2011 1 commit
-
-
Stefan Monnier authored
* lisp/window.el (switch-to-buffer): Better match Emacs-23 behavior and only use pop-to-buffer if the selected window can't be used. (pop-to-buffer-same-window): Use display-buffer--same-window-action. Fixes: debbugs:10144
-
- 20 Nov, 2011 1 commit
-
-
Paul Eggert authored
-
- 14 Nov, 2011 1 commit
-
-
Paul Eggert authored
-
- 10 Nov, 2011 1 commit
-
-
Glenn Morris authored
* doc/lispref/buffers.texi (Read Only Buffers): Expand a bit on why toggle-read-only should only be used interactively. * lisp/files.el (toggle-read-only): Mention that it should only be used interactively. * lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): Add toggle-read-only.
-
- 07 Nov, 2011 1 commit
-
-
Stefan Monnier authored
-
- 27 Oct, 2011 1 commit
-
-
Glenn Morris authored
* lisp/files.el (set-visited-file-name): If the major-mode changed, reload the local variables. Fixes: debbugs:9796
-
- 23 Oct, 2011 1 commit
-
-
Chong Yidong authored
It hasn't worked in a VC sense since 2008-05-02T07:12:59Z!esr@snark.thyrsus.com, though this was not documented at the time (grr). * lisp/vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias for toggle-read-only. Note that this hasn't called vc-next-action since 2008-05-02, though it wasn't documented at the time. * lisp/files.el (toggle-read-only): Remove obsolete comment about version control. * doc/emacs/buffers.texi (Misc Buffer): Don't mention vc-toggle-read-only. * lisp/cedet/ede.el (ede-maybe-checkout): Function deleted; vc-toggle-read-only does not do version control now. * lisp/cedet/ede/project-am.el (project-remove-file, project-add-file) (project-new-target): Don't call ede-maybe-checkout. * lisp/cedet/ede/util.el (ede-make-buffer-writable): Don't use vc-toggle-read-only. * lisp/vc/ediff-init.el (ediff-toggle-read-only-function): Use toggle-read-only.
-
- 12 Oct, 2011 1 commit
-
-
Michael Albinus authored
* files.el (set-auto-mode): Call `file-name-sans-versions' for the complete `buffer-file-name', the local file name part could look remotely (for example on VMS). * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of `tramp-run-real-handler'. (ange-ftp-fix-name-for-vms): Handle the case, where `name' is already quoted by '"'. * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors. Let `file-name-handler-alist' be nil, the local file name part could look remotely (for example on VMS).
-
- 22 Sep, 2011 1 commit
-
-
Michael Albinus authored
they could be retrieved from the source directory. (Bug#9565)
-