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

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

[elpa] externals/vlf 1ac1eec 106/310: Turn vlfi-get-file-size to functio


From: Stefan Monnier
Subject: [elpa] externals/vlf 1ac1eec 106/310: Turn vlfi-get-file-size to function.
Date: Sat, 28 Nov 2020 00:32:56 -0500 (EST)

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

    Turn vlfi-get-file-size to function.
---
 vlfi.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlfi.el b/vlfi.el
index 70cc6b3..2c42013 100644
--- a/vlfi.el
+++ b/vlfi.el
@@ -200,9 +200,9 @@ with the prefix argument DECREASE it is halved."
   "Update the current buffer name."
   (rename-buffer (vlfi-format-buffer-name) t))
 
-(defmacro vlfi-get-file-size (file)
+(defun vlfi-get-file-size (file)
   "Get size in bytes of FILE."
-  `(nth 7 (file-attributes ,file)))
+  (nth 7 (file-attributes file)))
 
 (defun vlfi-insert-file (&optional from-end)
   "Insert first chunk of current file contents in current buffer.



reply via email to

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