emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vlf c827c3e 110/310: Prevent standard save procedure in


From: Stefan Monnier
Subject: [elpa] externals/vlf c827c3e 110/310: Prevent standard save procedure invocation in case user postpones
Date: Sat, 28 Nov 2020 00:32:57 -0500 (EST)

branch: externals/vlf
commit c827c3e186b25b61f42608ba0ab5c9470b13f45a
Author: Andrey Kotlarski <m00naticus@gmail.com>
Commit: Andrey Kotlarski <m00naticus@gmail.com>

    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

[Prev in Thread] Current Thread [Next in Thread]