branch: externals/vlf
commit e740b91bb69455d32bdb9d7c49a068eef0803c0a
Author: Andrey Kotlarski <[email protected]>
Commit: Andrey Kotlarski <[email protected]>
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