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

    Fix opening of files for GNU Emacs 23.
---
 vlf.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlf.el b/vlf.el
index d845ead..ad81879 100644
--- a/vlf.el
+++ b/vlf.el
@@ -208,6 +208,7 @@ allow user to view file with `vlf', open it normally, or 
abort.
 OP-TYPE specifies the file operation being performed over FILENAME."
   (cond
    ((or (not vlf-application)
+        (not filename)
         (memq (vlf-determine-major-mode filename)
               vlf-forbidden-modes-list))
     ad-do-it)

Reply via email to