1. 01 Aug, 2013 6 commits
    • Stefan Monnier's avatar
      * lisp/files.el: Use lexical-binding. · 76dc5996
      Stefan Monnier authored
      (dir-locals-read-from-file): Remove unused `err' variable.
      (hack-dir-local-variables--warned-coding): New var.
      (hack-dir-local-variables): Use it to avoid repeated warnings.
      (make-backup-file-name--default-function): New function.
      (make-backup-file-name-function): Use it as default.
      (buffer-stale--default-function): New function.
      (buffer-stale-function): Use it as default.
      (revert-buffer-insert-file-contents--default-function): New function.
      (revert-buffer-insert-file-contents-function): Use it as default.
      (insert-directory): Avoid add-to-list.
      * lisp/autorevert.el (auto-revert-handler): Simplify.
      Use buffer-stale--default-function.
      76dc5996
    • Juanma Barranquero's avatar
      Fix typos in ChangeLogs. · 44e18199
      Juanma Barranquero authored
      44e18199
    • Tassilo Horn's avatar
    • Tassilo Horn's avatar
      Refactor out setting `whitespace-indent-tabs-mode' and · 06d36e2b
      Tassilo Horn authored
      `whitespace-tab-width' buffer-locally to own function, so that
      `whitespace-cleanup' and friends work appropriately without
      needing to enable `whitespace-mode'.
      
      * whitespace.el (whitespace-ensure-local-variables): New function.
      (whitespace-cleanup-region): Call it.
      (whitespace-turn-on): Call it.
      06d36e2b
    • Michael Albinus's avatar
      Complete file name handlers. · a43dc424
      Michael Albinus authored
      * net/tramp.el (tramp-handle-set-visited-file-modtime)
      (tramp-handle-verify-visited-file-modtime)
      (tramp-handle-file-notify-rm-watch): New functions.
      (tramp-call-process): Do not bind `default-directory'.
      
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Order
      alphabetically.
      [access-file, add-name-to-file, dired-call-process]:
      [dired-compress-file, file-acl, file-notify-rm-watch]:
      [file-ownership-preserved-p, file-selinux-context]:
      [make-directory-internal, make-symbolic-link, set-file-acl]:
      [set-file-selinux-context, set-visited-file-modtime]:
      [verify-visited-file-modtime]: Add handler.
      (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
      
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
      [file-notify-add-watch, file-notify-rm-watch]:
      [set-file-times, set-visited-file-modtime]:
      [verify-visited-file-modtime]: Add handler.
      (with-tramp-gvfs-error-message)
      (tramp-gvfs-handle-set-visited-file-modtime)
      (tramp-gvfs-fuse-file-name): Remove.
      (tramp-gvfs-handle-file-notify-add-watch)
      (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
      (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
      
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Order
      alphabetically.
      [file-notify-rm-watch ]: Use default Tramp handler.
      [executable-find]: Remove private handler.
      (tramp-do-copy-or-rename-file-out-of-band): Do not bind
      `default-directory'.
      (tramp-sh-handle-executable-find)
      (tramp-sh-handle-file-notify-rm-watch): Remove functions.
      (tramp-sh-file-gvfs-monitor-dir-process-filter)
      (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
      Do not use `format' in `tramp-message'.
      
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
      [file-notify-rm-watch, set-visited-file-modtime]:
      [verify-visited-file-modtime]: Add handler.
      (tramp-smb-call-winexe): Do not bind `default-directory'.
      a43dc424
    • Xue Fuqiao's avatar
  2. 31 Jul, 2013 4 commits
  3. 30 Jul, 2013 11 commits
  4. 29 Jul, 2013 2 commits
  5. 28 Jul, 2013 4 commits
  6. 27 Jul, 2013 6 commits
  7. 26 Jul, 2013 7 commits