branch: externals/vlf
commit c827c3e186b25b61f42608ba0ab5c9470b13f45a
Author: Andrey Kotlarski <[email protected]>
Commit: Andrey Kotlarski <[email protected]>

    Prevent standard save procedure invocation in case user postpones
    saving.
---
 vlfi.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlfi.el b/vlfi.el
index 49548f1..8df22af 100644
--- a/vlfi.el
+++ b/vlfi.el
@@ -775,8 +775,8 @@ Save anyway? ")))
             (t (vlfi-file-shift-forward (- size-change))))
       (vlfi-move-to-chunk vlfi-start-pos vlfi-end-pos)
       (goto-char pos))
-    (vlfi-mode)
-    t))
+    (vlfi-mode))
+  t)
 
 (defun vlfi-file-shift-back (size-change)
   "Shift file contents SIZE-CHANGE bytes back."

Reply via email to