1. 24 Jun, 2007 1 commit
    • Juanma Barranquero's avatar
      (desktop-read): Run `desktop-not-loaded-hook' in the directory where the desktop · 3ae6b03f
      Juanma Barranquero authored
      file was found, as the docstring says.
      (desktop-kill): Use `read-directory-name'.
       (desktop-load-locked-desktop): New option.
      (desktop-read): Use it.
      (desktop-truncate, desktop-outvar, desktop-restore-file-buffer): Use `when'.
      (desktop-save-mode-off): New function.
      (desktop-base-lock-name, desktop-not-loaded-hook): New variables.
      (desktop-full-lock-name, desktop-file-modtime, desktop-owner,
      desktop-claim-lock, desktop-release-lock): New functions.
      (desktop-kill): Tell `desktop-save' that this is the last save.
      Release the lock afterwards.
      (desktop-buffer-info): New function.
      (desktop-save): Use it.  Run `desktop-save-hook' where the doc says to.
      Detect conflicts, and manage the lock.
      (desktop-read): Detect conflicts.  Manage the lock.
      3ae6b03f
  2. 20 Jun, 2007 1 commit
  3. 12 Jun, 2007 2 commits
    • Juanma Barranquero's avatar
      (desktop-load-locked-desktop): New option. · 1f7efe1b
      Juanma Barranquero authored
      (desktop-read): Use it.
      (desktop-truncate, desktop-outvar, desktop-restore-file-buffer): Use `when'.
      1f7efe1b
    • Juanma Barranquero's avatar
      (desktop-save-mode-off): New function. · e88110db
      Juanma Barranquero authored
      (desktop-base-lock-name, desktop-not-loaded-hook): New variables.
      (desktop-full-lock-name, desktop-file-modtime, desktop-owner,
      desktop-claim-lock, desktop-release-lock): New functions.
      (desktop-kill): Tell `desktop-save' that this is the last save.
      Release the lock afterwards.
      (desktop-buffer-info): New function.
      (desktop-save): Use it.  Run `desktop-save-hook' where the doc says to.
      Detect conflicts, and manage the lock.
      (desktop-read): Detect conflicts.  Manage the lock.
      e88110db
  4. 09 Jun, 2007 2 commits
  5. 11 Apr, 2007 1 commit
    • Stefan Monnier's avatar
      (desktop-save, desktop-create-buffer): Replace mapcar with dolist. · 341c2f07
      Stefan Monnier authored
      (after-init-hook): Don't quote lambda.
      (desktop-first-buffer): Don't wrap it in eval-when-compile.
      (desktop-internal-v2s): Remove unused var `el'.
      (desktop-buffer-major-mode, desktop-buffer-locals): Move out of
      desktop-restore-file-buffer.
      (desktop-buffer-ok-count, desktop-buffer-fail-count): Move out of
      desktop-create-buffer.
      341c2f07
  6. 06 Apr, 2007 1 commit
  7. 28 Feb, 2007 1 commit
  8. 21 Jan, 2007 1 commit
  9. 12 Sep, 2006 1 commit
  10. 08 Sep, 2006 1 commit
  11. 23 Jun, 2006 1 commit
    • Lars Hansen's avatar
      (desktop-full-file-name): New function. · 11425834
      Lars Hansen authored
      (desktop-kill, desktop-save, desktop-remove, desktop-read)
      (desktop-revert): Use it.
      (desktop-clear, desktop-save, desktop-remove): Add autoload cookie.
      (desktop-after-read-hook): Add option list-buffers.
      (desktop-locals-to-save): Add tab-width.
      (desktop-save-mode, desktop-no-desktop-file-hook, desktop-save-hook):
      Fix docstring.
      11425834
  12. 14 May, 2006 1 commit
  13. 13 May, 2006 1 commit
  14. 10 Feb, 2006 1 commit
  15. 06 Feb, 2006 1 commit
  16. 23 Jan, 2006 1 commit
  17. 14 Dec, 2005 1 commit
  18. 21 Oct, 2005 1 commit
  19. 12 Oct, 2005 1 commit
  20. 18 Sep, 2005 1 commit
  21. 14 Aug, 2005 1 commit
  22. 10 Aug, 2005 1 commit
    • Lars Hansen's avatar
      (desktop-buffer-mode-handlers): Make · 0f4804e7
      Lars Hansen authored
      non-customizable. Add autoload cookie.  Change initial value to
      nil; add elements in respective modules instead. Fix doc string.
      (desktop-load-file): New function.
      (desktop-minor-mode-handlers): New autoloaded variable.
      (desktop-create-buffer): Call minor mode handlers. Use
      desktop-load-file to load major and minor mode modules prior to
      checking for a handler.
      (desktop-save): Don't add nil to desktop-minor-modes for minor
      modes with nil function in desktop-minor-mode-table. Don't delete
      desktop file before rewriting it.
      (desktop-locals-to-save): Add autoload cookie. Don't make
      automatically buffer-local.  Add variables column-number-mode,
      size-indication-mode, indent-tabs-mode,
      indicate-buffer-boundaries, indicate-empty-lines and
      show-trailing-whitespace.
      (desktop-clear): Allow desktop-clear-preserve-buffers to contain
      regexps. Don't use desktop-clear-preserve-buffers-regexp.
      (desktop-clear-preserve-buffers-regexp): Delete.
      (desktop-clear-preserve-buffers): Update initial value and
      docstring.
      (desktop-save-buffer): Fix doc string.
      0f4804e7
  23. 06 Aug, 2005 1 commit
  24. 29 Jul, 2005 1 commit
  25. 21 Jul, 2005 1 commit
  26. 19 Jul, 2005 2 commits
  27. 12 Jul, 2005 1 commit
  28. 04 Jul, 2005 1 commit
  29. 18 Apr, 2005 1 commit
  30. 03 Apr, 2005 1 commit
  31. 09 Feb, 2005 1 commit
  32. 12 Jan, 2005 1 commit
  33. 09 Jan, 2005 1 commit
  34. 07 Jan, 2005 1 commit
    • Lars Hansen's avatar
      (desktop-restore-eager, desktop-lazy-verbose, desktop-lazy-idle-delay): · 150f39ee
      Lars Hansen authored
      New customizable variables.
      (desktop-buffer-args-list): New variable.
      (desktop-append-buffer-args): New function.
      (desktop-save): Call desktop-append-buffer-args for some buffers.
      (desktop-lazy-create-buffer): New function.
      (desktop-idle-create-buffers): New function.
      (desktop-read): Add message about buffers to restore lazily.
      (desktop-lazy-abort): New command.
      (desktop-clear): Call desktop-lazy-abort.
      (desktop-lazy-complete): New command.
      150f39ee
  35. 26 Nov, 2004 1 commit
  36. 12 Nov, 2004 1 commit
  37. 11 Nov, 2004 1 commit