1. 01 Jul, 2012 1 commit
  2. 07 May, 2012 1 commit
  3. 06 May, 2012 1 commit
  4. 10 Apr, 2012 1 commit
  5. 01 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Rename file-subdir-of-p to file-in-directory-p. · 42ee526b
      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.
      42ee526b
  6. 30 Mar, 2012 1 commit
    • Thierry Volpiatto's avatar
      Fix copying of symlinks. · 40311efc
      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.
      40311efc
  7. 26 Mar, 2012 1 commit
    • Glenn Morris's avatar
      More small edits for lispref/os.texi · 02243d9d
      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.
      02243d9d
  8. 21 Mar, 2012 1 commit
  9. 09 Mar, 2012 1 commit
    • Glenn Morris's avatar
      Another dir-locals iteration · f7fd3d79
      Glenn Morris authored
      * lisp/files.el (dir-locals-find-file):
      Don't check result is regular, readable.
      (dir-locals-read-from-file): Demote errors.
      f7fd3d79
  10. 08 Mar, 2012 1 commit
  11. 06 Mar, 2012 3 commits
  12. 01 Mar, 2012 1 commit
  13. 28 Feb, 2012 2 commits
  14. 26 Feb, 2012 1 commit
    • Chong Yidong's avatar
      Code and doc fixes for file-subdir-of-p and files-equal-p. · 9a4888c0
      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.
      9a4888c0
  15. 24 Feb, 2012 2 commits
  16. 10 Feb, 2012 1 commit
  17. 09 Feb, 2012 1 commit
  18. 04 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Document revert-buffer-in-progress-p · 8f05da42
      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.
      8f05da42
  19. 23 Jan, 2012 1 commit
  20. 21 Jan, 2012 1 commit
    • Glenn Morris's avatar
      File-local variable fixes. · 7b447e9b
      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
      7b447e9b
  21. 18 Jan, 2012 1 commit
    • Glenn Morris's avatar
      files.el doc fixes. · f3860cea
      Glenn Morris authored
      * lisp/files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
      (set-auto-mode): Doc fixes.
      f3860cea
  22. 11 Jan, 2012 1 commit
  23. 06 Jan, 2012 1 commit
    • Chong Yidong's avatar
      More customization-related documentation updates. · 89bd9ccd
      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.
      89bd9ccd
  24. 05 Jan, 2012 1 commit
  25. 29 Dec, 2011 1 commit
  26. 21 Dec, 2011 1 commit
  27. 04 Dec, 2011 1 commit
  28. 28 Nov, 2011 1 commit
  29. 20 Nov, 2011 1 commit
  30. 14 Nov, 2011 1 commit
  31. 10 Nov, 2011 1 commit
    • Glenn Morris's avatar
      toggle-read-only fixes for bugs#7292, 10006. · b2621720
      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.
      b2621720
  32. 07 Nov, 2011 1 commit
  33. 27 Oct, 2011 1 commit
  34. 23 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Make vc-toggle-read-only an alias for toggle-read-only. · 86c60681
      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.
      86c60681
  35. 12 Oct, 2011 1 commit
    • Michael Albinus's avatar
      Fix Bug#6019, Bug#9315. · 28dbc92f
      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).
      28dbc92f
  36. 22 Sep, 2011 1 commit