[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/why-this b3a7f874b8 53/59: Don't error on binary files
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/why-this b3a7f874b8 53/59: Don't error on binary files |
Date: |
Sun, 27 Nov 2022 16:02:54 -0500 (EST) |
branch: elpa/why-this
commit b3a7f874b808ab02220b54f4bee7bb59dcb2fae1
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Don't error on binary files
---
why-this.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/why-this.el b/why-this.el
index e5c437225f..709e2e5af2 100644
--- a/why-this.el
+++ b/why-this.el
@@ -723,7 +723,9 @@ Do CMD with ARGS."
(let* ((blame
(let ((temp-file (make-temp-file "why-this-git-")))
(let ((text (buffer-substring-no-properties
- (point-min) (point-max))))
+ (point-min) (point-max)))
+ (coding-system-for-write
+ buffer-file-coding-system))
(with-temp-file temp-file
(insert text)))
(unwind-protect
- [nongnu] elpa/why-this 1c8a4fbfd5 31/59: Update screenshots, (continued)
- [nongnu] elpa/why-this 1c8a4fbfd5 31/59: Update screenshots, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 37f3842f5e 32/59: Improve why-this-relative-time, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this bc063e0b9a 16/59: Change heat map colors for matching with light theme, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 6631186733 18/59: Remove screenshot captions, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this d8db9e63e0 14/59: Fix overlay moving code and a typo in global-why-this-mode, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 9f8c0d4e09 11/59: Fix annonating last part when heat map disabled, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this c914584833 59/59: Use cond instead of nested if in why-this--get-face, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this fa904a7fae 50/59: Make lines no longer than 75 characters, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this a8d01707ce 58/59: Add .dir-locals.el, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 17f7963cfc 46/59: Use faces instead of variables for colors, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this b3a7f874b8 53/59: Don't error on binary files,
ELPA Syncer <=
- [nongnu] elpa/why-this bca895def5 55/59: Add .elpaignore, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this c7f771736c 44/59: Remove obsolete use of define-minor-mode, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 2c8c35ca10 57/59: Bump version to 2.0.3, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 258f010001 54/59: Bump version to 2.0.2, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 0975f5b57f 48/59: Fix #2: Truncate long lines in annotation buffer, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this da0fa6da7e 52/59: Bump version to 2.0.1, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this f0ef9e3730 51/59: Show overlay only on selected window, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this f18b8d8d18 43/59: Lower required Emacs version, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this c5d192cfee 56/59: Some cleanup, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 4552587fd4 49/59: Determine line width correctly, ELPA Syncer, 2022/11/27