From e740b91bb69455d32bdb9d7c49a068eef0803c0a Mon Sep 17 00:00:00 2001 From: Andrey Kotlarski Date: Sun, 13 Jan 2013 13:27:57 +0200 Subject: [PATCH] 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