[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/zig-mode fab1924 066/104: fix test regression
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/zig-mode fab1924 066/104: fix test regression |
Date: |
Sun, 29 Aug 2021 11:37:04 -0400 (EDT) |
branch: elpa/zig-mode
commit fab19243ba5c48e23b914e12cbf47f5f9c7a0b55
Author: joachimschmidt557 <joachim.schmidt557@outlook.com>
Commit: joachimschmidt557 <joachim.schmidt557@outlook.com>
fix test regression
---
zig-mode.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/zig-mode.el b/zig-mode.el
index e805d49..785355c 100644
--- a/zig-mode.el
+++ b/zig-mode.el
@@ -397,9 +397,10 @@ If given a SOURCE, execute the CMD on it."
;;; Guarantee filesystem unix line endings
(defun zig-file-coding-system ()
(with-current-buffer (current-buffer)
- (if (string-match "\\.d?zig\\'" buffer-file-name)
- (setq buffer-file-coding-system 'utf-8-unix)
- nil)
+ (if (buffer-file-name)
+ (if (string-match "\\.d?zig\\'" buffer-file-name)
+ (setq buffer-file-coding-system 'utf-8-unix)
+ nil))
))
(add-hook 'zig-mode-hook 'zig-file-coding-system)
- [nongnu] elpa/zig-mode 1d26390 015/104: Merge pull request #3 from purcell/patch-1, (continued)
- [nongnu] elpa/zig-mode 1d26390 015/104: Merge pull request #3 from purcell/patch-1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 0ed57d8 014/104: Minor fixes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode e659a58 024/104: Set comment-start and comment-end (for issue #5) (#7), ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode b773127 027/104: Initial implementation of indent-line-function, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 9c200f4 032/104: Add -y flag to apt-get command in AppVeyor install script, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode e0bccb1 047/104: add zig-format-buffer command, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 2acd88f 049/104: add zig-mode-map with default keybinding, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 0a150f2 054/104: Merge pull request #19 from mgxm/fix_multiline_string, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 64994f1 053/104: Merge pull request #17 from xuchunyang/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 9609cc3 055/104: Merge pull request #21 from SerialDev/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode fab1924 066/104: fix test regression,
ELPA Syncer <=
- [nongnu] elpa/zig-mode f9e5c57 065/104: Merge pull request #28 from justjosias/pre-doc-comment, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 2426668 070/104: Remove `this` constant, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode e110c29 073/104: Merge pull request #29 from joachimschmidt557/test-regression, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 6d78a6e 074/104: Fix appveyor.yml, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 9b44e04 075/104: Merge pull request #38 from mdsteele/appveyor, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 6f10653 085/104: Merge pull request #41 from dedifferentiator/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 085bd30 081/104: Revert "Use rx macro and add more possibilities for type annotations", ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode ffaffb7 077/104: Merge pull request #31 from joachimschmidt557/hide-zig-fmt-window, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 9be8b72 080/104: upd: zig test flags, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 68f3fc5 087/104: Update the required emacs version from 24 to 24.3, ELPA Syncer, 2021/08/29