[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate f85f8e00a1 088/372: - remove file size limit for
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate f85f8e00a1 088/372: - remove file size limit for hash calculation. |
Date: |
Fri, 4 Feb 2022 16:58:21 -0500 (EST) |
branch: elpa/annotate
commit f85f8e00a1ed62de1cc43e4cd9690bcdde2cd0e0
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>
- remove file size limit for hash calculation.
---
annotate.el | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/annotate.el b/annotate.el
index 91834c791e..276dffd95c 100644
--- a/annotate.el
+++ b/annotate.el
@@ -115,12 +115,6 @@
:type 'string
:group 'annotate)
-(defcustom annotate-maximum-size-checksum 5000000
- "Calculate checksum of the current buffer only if the size is
-less than this size (in characters)"
- :type 'integer
- :group 'annotate)
-
(defconst annotate-warn-file-changed-control-string
(concat "The file '%s' has changed on disk "
"from the last time the annotations were saved.\n"
@@ -149,13 +143,8 @@ major mode is a member of this list (space separated
entries)."
(annotate-shutdown)))))
(cl-defun annotate-buffer-checksum (&optional (object (current-buffer)))
- "Calculate an hash for the buffer 'object', skip the
- calculation if the buffer is bigger than
- 'annotate-maximum-size-checksum' (units are character)."
- (if (< (buffer-size)
- annotate-maximum-size-checksum)
- (md5 object)
- nil))
+ "Calculate an hash for the argument 'object'."
+ (secure-hash 'md5 object))
(cl-defmacro annotate-with-inhibit-modification-hooks (&rest body)
"Wrap 'body' in a block with modification-hooks inhibited."
- [nongnu] elpa/annotate 140eb6b6cb 363/372: - updated NEWS.org;, (continued)
- [nongnu] elpa/annotate 140eb6b6cb 363/372: - updated NEWS.org;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate b22f594f3b 336/372: Merge pull request #107 from cage2/prevent-saving-empty-db, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate de86b9b22e 341/372: - removed uses of regular expressions from 'annotate-unwrap-text'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e083073ead 371/372: - updated Changelog;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 0901aa52bc 367/372: - added the others procedures to import an annotation database., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate f08923762f 063/372: fix typo in documentation, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 16f7202d7c 091/372: - fixed docstring., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 7c759ba9eb 082/372: - fixed english language error., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 47dba946e8 075/372: - removed spurious newline character at the end of annotation text;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 91f1d49368 087/372: - squeezed contiguous spaces in docstring., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate f85f8e00a1 088/372: - remove file size limit for hash calculation.,
ELPA Syncer <=
- [nongnu] elpa/annotate bf80059e7a 071/372: - use comment ends string in modes that allow it (e.g. html-mode);, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate f01b98de03 096/372: - restored the kill buffer key command., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 1313777f03 098/372: - added args to local function., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 0bbdbea410 095/372: - improved appereance of summary window, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate edaafc69a9 052/372: no more broken annotations with umlauts, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate c42db2cdf9 034/372: don't mark buffer as modified on load or clear, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 38eb69da8b 107/372: - added a secondary color for highlight and annotation text, the two, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate af6d1bd39a 055/372: tiny bugfix, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e77fc74bd2 036/372: change key binding to be more standard, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate b032d2afe0 116/372: - changed function name: 'move-lines' -> 'beginning-of-nth-line'., ELPA Syncer, 2022/02/04