summaryrefslogtreecommitdiff
path: root/desktop-conf.el
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-conf.el')
-rw-r--r--desktop-conf.el19
1 files changed, 0 insertions, 19 deletions
diff --git a/desktop-conf.el b/desktop-conf.el
index 3485b38..462c549 100644
--- a/desktop-conf.el
+++ b/desktop-conf.el
@@ -38,15 +38,6 @@
(setq desktop-restore-frames nil)
(setq desktop-save 'ask-if-new)
-;;; Also save bookmarks before
-
-(defun durand-bookmark-save ()
- "Silently save bookmarks."
- (let ((inhibit-message t))
- (cond ((featurep 'bookmark) (bookmark-save nil nil nil)))))
-
-(add-hook 'desktop-save-hook #'durand-bookmark-save)
-
;;; Overwrite the saving function
;; Modify to hard-code the directory to save the desktop file.
@@ -207,15 +198,5 @@ no questions asked."
(desktop-save-mode 1)
-;;; Add a binding for saving desktop files
-
-;; This was used for `copy-to-register', but we can also use `C-x r
-;; x'.
-
-;; This was used to save bookmarks, but I also save bookmarks after
-;; saving the desktop file, so I just bind it to save desktop instead.
-
-(define-key ctl-x-r-map (vector ?s) #'desktop-save)
-
(provide 'desktop-conf)
;;; desktop-conf.el ends here