mirror of
https://github.com/m00natic/vlfi.git
synced 2025-09-19 11:42:08 +01:00
Turn vlfi-get-file-size to function.
This commit is contained in:
4
vlfi.el
4
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.
|
||||
|
Reference in New Issue
Block a user