Skip to content

Commit

Permalink
Revert "Revert "Make sure handlers return a non-nil value""
Browse files Browse the repository at this point in the history
This reverts commit 12f5bb2.
  • Loading branch information
jamescherti committed Nov 10, 2024
1 parent 872113b commit a8299e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions easysession.el
Original file line number Diff line number Diff line change
Expand Up @@ -978,8 +978,7 @@ SESSION-NAME is the name of the session."
;; be altered by packages such as saveplace. This will allow the frameset
;; to modify the cursor later on.
(dolist (handler (easysession-get-load-handlers))
(when handler
(funcall handler session-data)))
(funcall handler session-data))

;; Load the frame set
(easysession--load-frameset session-data
Expand Down

0 comments on commit a8299e8

Please sign in to comment.