1. 03 Mar, 2011 1 commit
  2. 01 Mar, 2011 3 commits
  3. 24 Feb, 2011 2 commits
    • Glenn Morris's avatar
      More dir-locals fixes for files.el. · 07915ed9
      Glenn Morris authored
      * lisp/files.el (hack-local-variables-confirm, hack-local-variables-filter):
      Doc fix (say _which_ directory `dir-name' is).
      (hack-dir-local-variables): Fix setting of `dir-name'.
      Previous value seems clearly wrong.  Eg put a risky variable in a
      dir-locals file, visit a file in a subdirectory, see which directory
      it says the risky variables come from.  It should be the one with the
      associated directory variables, not the one containing the visited file.
      07915ed9
    • Glenn Morris's avatar
      Partial fix for bug#8095. · ebe401f6
      Glenn Morris authored
      * lisp/files.el (dir-locals-find-file): Doc fix.
      Fix the check for cache elements that have no associated file,
      and the mtime check for those that do.
      
      Still to do: some places that use dir-locals-find-file assume the
      result is always a file, which is not true. (The function name is
      misleading.)
      ebe401f6
  4. 23 Feb, 2011 1 commit
  5. 18 Feb, 2011 2 commits
  6. 12 Feb, 2011 2 commits
  7. 11 Feb, 2011 1 commit
  8. 06 Feb, 2011 1 commit
  9. 01 Feb, 2011 2 commits
  10. 31 Jan, 2011 1 commit
  11. 29 Jan, 2011 1 commit
  12. 25 Jan, 2011 1 commit
  13. 24 Jan, 2011 1 commit
  14. 20 Jan, 2011 1 commit
  15. 15 Jan, 2011 1 commit
    • Mark Diekhans's avatar
      Make last-resort backup file in .emacs.d (Bug#6953). · b024d9f0
      Mark Diekhans authored
      * lisp/files.el (backup-buffer): Make last-resort backup file in
      .emacs.d.
      
      * lisp/subr.el (locate-user-emacs-file): If .emacs.d does not exist,
      make it with permission 700.
      
      * doc/emacs/files.texi (Backup Names): Document the new location of the
      last-resort backup file.
      b024d9f0
  16. 08 Jan, 2011 2 commits
  17. 07 Jan, 2011 1 commit
  18. 02 Jan, 2011 1 commit
  19. 30 Dec, 2010 1 commit
    • Tassilo Horn's avatar
      * doc-view.el (doc-view-set-doc-type): New function refactored · 291cc045
      Tassilo Horn authored
      from doc-view-mode.
      (doc-view-fallback-mode): New function.
      (doc-view-mode): Use it.
      (doc-view-mode-maybe): New function that checks if doc-view-mode
      can be used and falls back to the next best mode otherwise.
      
      * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
      DVI, OpenDocument, and MS Office files.
      291cc045
  20. 11 Dec, 2010 1 commit
  21. 10 Dec, 2010 1 commit
  22. 08 Dec, 2010 1 commit
  23. 04 Dec, 2010 2 commits
  24. 22 Nov, 2010 2 commits
    • Stefan Monnier's avatar
      Cleanup diff-buffer-with-file. · b2e44819
      Stefan Monnier authored
      * lisp/vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
      (diff-sentinel): Get them as arguments instead.
      (diff-old-file, diff-new-file, diff-extra-args): Remove.
      (diff-file-local-copy, diff-better-file-name): New funs.
      (diff-no-select): Rename from diff-into-buffer.
      Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
      Prefer closures to buffer-local variables.
      (diff): Adjust accordingly.
      (diff-buffer-with-file): Move from files.el.
      * lisp/files.el (diff-buffer-with-file): Move to vc/diff.el.
      (diff-buffer-internal): Remove.
      (diff-buffer-buffer): Remove.
      (save-some-buffers-action-alist): Use diff-no-select so as not to guess
      the buffer name used, and so as not to mess up windows and frames.
      b2e44819
    • Bob Rogers's avatar
      * lisp/files.el: Make revert work with diff-buffer-with-file. · 6a7662bb
      Bob Rogers authored
      (diff-buffer-internal): New function extracted from diff-buffer-with-file
      (diff-buffer-with-file): Use it.
      * lisp/vc/diff.el (diff-into-buffer): New fun, extracted from diff.
      (diff): Use it.
      
      Fixes: debbugs:7277
      6a7662bb
  25. 21 Nov, 2010 1 commit
  26. 11 Nov, 2010 1 commit
  27. 06 Nov, 2010 1 commit
  28. 29 Oct, 2010 1 commit
  29. 18 Oct, 2010 1 commit
  30. 02 Oct, 2010 1 commit
    • Michael Albinus's avatar
      * files.el (remote-file-name-inhibit-cache): New defcustom. · 4bc3c53d
      Michael Albinus authored
      * time.el (display-time-file-nonempty-p): Use
      `remote-file-name-inhibit-cache'.
      
      * net/tramp.el (tramp-completion-reread-directory-timeout): Fix
      docstring.
      
      * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
      (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
      `remote-file-name-inhibit-cache'.  Check also for an integer
      value.  Add/increase counter when `tramp-verbose' >= 10.
      (tramp-set-file-property): Add/increase counter when
      `tramp-verbose' >= 10.
      
      * net/tramp-cmds.el (tramp-cleanup-all-connections)
      (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
      (tramp-bug): Set tramp-autoload cookie.  Report all interned
      tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
      (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
      characters only in strings.
      
      * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
      to backward compatibility.
      
      * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
      (tramp-handle-file-name-all-completions)
      (tramp-handle-vc-registered): Use
      `remote-file-name-inhibit-cache'.
      (tramp-open-connection-setup-interactive-shell): Call
      `tramp-cleanup-connection' directly.
      4bc3c53d
  31. 01 Oct, 2010 1 commit