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

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

[elpa] externals/vlf e740b91 005/310: Update `vlf-if-file-too-large' exa


From: Stefan Monnier
Subject: [elpa] externals/vlf e740b91 005/310: Update `vlf-if-file-too-large' example usage.
Date: Sat, 28 Nov 2020 00:32:35 -0500 (EST)

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

    Update `vlf-if-file-too-large' example usage.
---
 README.org | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index a354635..7301d7a 100644
--- a/README.org
+++ b/README.org
@@ -10,5 +10,6 @@ When opening file, by default Emacs checks its size against
 To add vlf as an option in these cases:
 
 #+BEGIN_SRC emacs-lisp
-(fset 'abort-if-file-too-large 'vlf-if-file-too-large)
+(if (fboundp 'vlf-if-file-too-large)
+    (fset 'abort-if-file-too-large 'vlf-if-file-too-large))
 #+END_SRC



reply via email to

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