       "If the `last-command' was `fold-this', undo that fold action."
       (let ((last-cmd-was-fold (eq last-command #'fold-this)))
         (when last-cmd-was-fold
-          (backward-char 1)
-          (fold-this-unfold-at-point))
+          (delete-overlay modi/fold-this--last-overlay))
         last-cmd-was-fold))
     ;; Advice `undo-tree-undo' to unfold the previous fold
     (with-eval-after-load 'undo-tree

  (progn
    (setq fold-this-persistent-folds-file (locate-user-emacs-file "saved-folds"))
    (setq fold-this-persistent-folds t)

    (bind-keys
     :map fold-this-keymap

;; Time-stamp: <2015-06-09 00:02:38 kmodi>

;; Fold This
;; https://github.com/magnars/fold-this.el
