[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/zig-mode 5b3b772 011/104: Removed hook.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/zig-mode 5b3b772 011/104: Removed hook. |
Date: |
Sun, 29 Aug 2021 11:36:53 -0400 (EDT) |
branch: elpa/zig-mode
commit 5b3b77203b0f5f42db622e7a1c7cb50fa3a15a14
Author: Andrea Orru <andreaorru1991@gmail.com>
Commit: Andrea Orru <andreaorru1991@gmail.com>
Removed hook.
---
zig-mode.el | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/zig-mode.el b/zig-mode.el
index bc80bfc..72acca2 100644
--- a/zig-mode.el
+++ b/zig-mode.el
@@ -100,16 +100,10 @@
(,(regexp-opt zig--types 'symbols) . font-lock-type-face)))
-(defvar zig-mode-init-hook nil
- "This hook is called when 'zig-mode' is initialized.")
-
-;; Indentation is 4 spaces by default:
-(add-hook 'zig-mode-init-hook '(lambda() (setq c-basic-offset 4)))
-
;;;###autoload
(define-derived-mode zig-mode c-mode "Zig"
"A major mode for the Zig programming language."
- (run-hooks 'zig-mode-init-hook)
+ (setq c-basic-offset 4)
(setq font-lock-defaults '(zig--font-lock-keywords)))
;;;###autoload
- [nongnu] elpa/zig-mode 4eafa60 050/104: colorize compilation buffer, (continued)
- [nongnu] elpa/zig-mode 4eafa60 050/104: colorize compilation buffer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 107a67b 060/104: Runs `revert-buffer` after formatting on save., ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode b4ae21a 061/104: Merge pull request #26 from Saikyun/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 6309295 069/104: Hide the *zig-fmt* window when formatting succeeds again, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 1e75c04 100/104: Remove irrelevant comment, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 0babe7e 103/104: Merge pull request #59 from eric-p-hutchins/params-with-optionals-pointers-and-arrays-oh-my, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 2d0eb23 097/104: Merge pull request #55 from arqv/optim-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 232bfff 010/104: Merge pull request #2 from syohex/fix-package, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode fead48b 002/104: Initial revision., ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode c961a6d 005/104: noreturn., ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 5b3b772 011/104: Removed hook.,
ELPA Syncer <=
- [nongnu] elpa/zig-mode fb8d52f 017/104: License., ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 4f281e4 020/104: Changed repository location, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode c5315ff 026/104: Apply font-lock-doc-face to doc comments (for issue #5), ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode c2deea8 037/104: Merge pull request #14 from mgxm/imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 52e3e20 004/104: README., ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode bc1bed3 009/104: Fix package, ELPA Syncer, 2021/08/29
- [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