mirror of
https://github.com/m00natic/vlfi.git
synced 2025-02-24 05:48:06 +00:00
Turn vlfi-get-file-size to function.
This commit is contained in:
parent
67732485d8
commit
1ac1eece40
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user