From d5bf7d100c82b9197055b1593376d18925cc81f8 Mon Sep 17 00:00:00 2001
From: MoScribe <liumiaogemini@foxmail.com>
Date: Tue, 9 Jun 2020 17:33:57 +0800
Subject: [PATCH] use saveplace

---
 .gitignore | 4 +---
 init.el    | 5 +++++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 887e77d..567dd62 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,6 +22,7 @@ abbrev_defs
 ede-projects.el
 srecode-map.el
 eww-bookmarks
+places
 
 # ecb files
 init.el.before_ecb_2.50
@@ -35,9 +36,6 @@ elpa/
 # vim .log files
 *.log
 
-# session files
-session.*
-=======
 # projectile files
 projectile*
 #
diff --git a/init.el b/init.el
index 0b4d8cb..b0c209c 100644
--- a/init.el
+++ b/init.el
@@ -241,6 +241,10 @@
 (use-package recentf
   :defer 1)
 
+(use-package saveplace
+  :hook (after-init . save-place-mode)
+  )
+
 ;; Version Control=========================================================================
 (use-package magit
   :ensure t
@@ -308,5 +312,6 @@
   :load-path "lisp/use-org"
   :hook org-mode)
 
+
 (provide 'init)
 ;;; init.el ends here
-- 
GitLab