1. 26 Apr, 2004 1 commit
  2. 21 Apr, 2004 1 commit
    • Lars Hansen's avatar
      (desktop-buffer-mode-handlers): New variabel. Alist · e5780ae1
      Lars Hansen authored
      of major mode specific functions to restore a desktop buffer.
      (desktop-buffer-handlers): Make variabel obsolete.
      (desktop-create-buffer): Use desktop-buffer-mode-handlers. Catch
      errors signaled in handlers. Update buffer count. Evaluate
      desktop-buffer-point.
      (desktop-buffer-dired): Rename to dired-restore-desktop-buffer and
      move to dired.el.
      (desktop-buffer-info): Rename to Info-restore-desktop-buffer and
      move to info.el.
      (desktop-buffer-rmail): Rename to rmail-restore-desktop-buffer and
      move to mail/rmail.el.
      (desktop-buffer-mh): Rename to mh-restore-desktop-buffer and move
      to mh-e/mh-e.el.
      (desktop-buffer-file): Rename to desktop-restore-file-buffer. An
      fail, print message (to message buffer) even if
      desktop-missing-file-warning is nil.
      (desktop-buffer-misc-data-function): New buffer local
      variable. Function returning major mode specific data.
      (desktop-buffer-misc-functions): Make variable obsolete.
      (desktop-save): Use desktop-buffer-misc-data-function.
      (desktop-buffer-dired-misc-data): Rename to
      dired-desktop-buffer-misc-data and move to dired.el.
      (desktop-buffer-info-misc-data): Rename to
      Info-desktop-buffer-misc-data and move to info.el.
      (desktop-read): Add message about number of buffers
      restored/failed.
      e5780ae1
  3. 29 Feb, 2004 1 commit
  4. 05 Nov, 2003 1 commit
  5. 30 Sep, 2003 1 commit
    • Lars Hansen's avatar
      A lot of comments updated. · c5b31c4d
      Lars Hansen authored
      (desktop-save-mode): Minor mode introduced.
      (desktop-enable, desktop-clear-preserve-buffers): Variables made obsolete.
      (desktop-load-default): Function made obsolete.
      (desktop-locals-to-save): Variable made customizable.
      (desktop-read): Optional parameter `dirname' added.
      (desktop-change-dir, desktop-revert): Parameter `dirname' in `desktop-read' used.
      (desktop-save-in-load-dir): Renamed to `desktop-save-in-desktop-dir'.
      c5b31c4d
  6. 08 Sep, 2003 1 commit
  7. 01 Sep, 2003 1 commit
  8. 29 Aug, 2003 1 commit
  9. 17 Aug, 2003 1 commit
  10. 13 Jul, 2003 1 commit
  11. 07 Jul, 2003 1 commit
  12. 04 Jun, 2003 1 commit
  13. 03 Jun, 2003 1 commit
    • Juanma Barranquero's avatar
      (desktop-create-buffer): Undo last change. · 73b0b745
      Juanma Barranquero authored
      (desktop-kill, desktop-save, desktop-remove): Use expand-directory rather than
      concat to construct desktop filename.
      (desktop-kill, desktop-read, desktop-change-dir): Ensure desktop-dirname is a
      directory name.
      (desktop-change-dir): Fix bug when DIR was relative.
      73b0b745
  14. 01 Jun, 2003 1 commit
  15. 19 May, 2003 1 commit
  16. 19 Apr, 2003 1 commit
  17. 14 Apr, 2003 1 commit
  18. 10 Apr, 2003 1 commit
  19. 09 Apr, 2003 1 commit
    • Richard M. Stallman's avatar
      Handle multiple desktop files in different dirs. · 4a2fce7a
      Richard M. Stallman authored
      Other cleanups.
      Command line option --no-desktop introduced.
      (desktop-read): Record buffers in the desktop file in
      the same order as that in the buffer list,
      (desktop-save): Put buffers in the order given in desktop file,
      regardless of what handlers do.
      (desktop-file-version): New variable. Version number of desktop
      file format.
      (desktop-create-buffer-form): Variable deleted.
      (desktop-save): New customizable variable.
      (desktop-kill): Changed to use `desktop-save'.
      (desktop-file-name-format): New option: format in
      which desktop file names should be saved.
      (desktop-file-name): New function to convert a filename to the
      format specified in `desktop-file-name-format'.
      (desktop-create-buffer): Parameters renamed to descriptive
      systematic names. These parameters are visible to handlers.
      Renames:
      ver    -> desktop-file-version
      mim    -> desktop-buffer-minor-modes
      pt     -> desktop-buffer-point
      mk     -> desktop-buffer-mark
      ro     -> desktop-buffer-read-only
      locals -> desktop-buffer-locals
      (desktop-buffer-major-mode, desktop-buffer-file-name)
      (desktop-buffer-name): Unused customizable variables deleted.
      (desktop-buffer-misc): Unused variable deleted.
      (desktop-save, desktop-buffer-dired-misc-data):
      Use `desktop-file-name'.
      (desktop-path): New customizable variable.  List of directories in
      which to lookup the desktop file. Replaces hardcoded list.
      (desktop-globals-to-clear): New variable replaces hardcoded list.
      (desktop-clear-preserve-buffers-regexp): New customizable variable.
      (desktop-after-read-hook): New hook run after a desktop is read.
      (desktop-no-desktop-file-hook): New hook when no desktop file found.
      (desktop-change-dir): New function.
      (desktop-save-in-load-dir): New function. Save desktop in
      directory from witch it was loaded.
      (desktop-revert): New function. Revert to the last loaded desktop.
      4a2fce7a
  20. 04 Nov, 2002 1 commit
  21. 11 Mar, 2002 1 commit
  22. 16 Nov, 2001 1 commit
  23. 23 Oct, 2001 1 commit
  24. 13 Aug, 2001 1 commit
  25. 09 Aug, 2001 1 commit
  26. 31 Jul, 2001 1 commit
  27. 30 Jul, 2001 1 commit
  28. 13 Oct, 2000 1 commit
  29. 10 Oct, 2000 1 commit
    • Stefan Monnier's avatar
      (desktop-modes-not-to-save): New var. · 80f9f3db
      Stefan Monnier authored
      (desktop-save-buffer-p): Use it.
      Also, obey desktop-buffers-not-to-save even for non-file buffers.
      (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
      80f9f3db
  30. 16 Aug, 2000 1 commit
  31. 26 Apr, 2000 1 commit
  32. 02 Feb, 2000 1 commit
  33. 11 Nov, 1998 1 commit
  34. 26 Oct, 1998 1 commit
  35. 22 Oct, 1998 1 commit
  36. 20 Oct, 1998 1 commit
  37. 20 Apr, 1998 1 commit
  38. 30 Mar, 1998 1 commit
  39. 28 Mar, 1998 1 commit
  40. 26 Jan, 1998 1 commit