diff options
author | Arun Isaac | 2020-08-03 02:04:03 +0530 |
---|---|---|
committer | Arun Isaac | 2020-08-03 02:07:16 +0530 |
commit | 6a47089094387178685444218a4ad55874dd323d (patch) | |
tree | e837be641a9c1d84e5d5403570f7eae2029c63de | |
parent | ad903fd96c582388a2cd6212c78c5c1a84fe0055 (diff) | |
download | ennum-6a47089094387178685444218a4ad55874dd323d.tar.gz ennum-6a47089094387178685444218a4ad55874dd323d.tar.lz ennum-6a47089094387178685444218a4ad55874dd323d.zip |
Include file name in hash computation.
Prior to this, files of different name but same content would be
indistinguishable and cause trouble.
* ennum.el (ennum--file-hash): Include file name in hash computation.
-rw-r--r-- | ennum.el | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -54,6 +54,7 @@ respectively by - and _, and the pad character = is optional." ;; TODO: Use ennum-with-file-contents (set-buffer-multibyte nil) (insert-file-contents-literally file) + (insert file) (ennum--hash))) (defun ennum--set-file-modes-recursively (directory directory-mode file-mode executable-file-mode) |