[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode b286555 054/459: Ensure csharp-mode calls `
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode b286555 054/459: Ensure csharp-mode calls `prog-mode` hooks. |
Date: |
Sun, 22 Aug 2021 13:58:54 -0400 (EDT) |
branch: externals/csharp-mode
commit b286555343179281a4703ecf40989c28d2f44e2e
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Ensure csharp-mode calls `prog-mode` hooks.
Fixes https://github.com/josteink/csharp-mode/issues/15.
---
csharp-mode.el | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index a71d4bf..5aa6765 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -1,10 +1,11 @@
+
;;; csharp-mode.el --- C# mode derived mode
;; Author : Dylan R. E. Moonfire (original)
;; Maintainer : Jostein Kj�nigsen <jostein@gmail.com>
;; Created : Feburary 2005
;; Modified : November 2014
-;; Version : 0.8.7
+;; Version : 0.8.8
;; Keywords : c# languages oop mode
;; X-URL : https://github.com/josteink/csharp-mode
;; Last-saved : <2014-Nov-29 13:56:00>
@@ -266,6 +267,11 @@
;; 0.8.7 2014 November 29
;; - Fix broken cl-dependency in emacs24.4 and defadvice for tooltips.
;;
+;; 0.8.8 2014 December 3
+;; - Fix broken byte-compile.
+;; - Add extra C# keywords.
+;; - Call prog-mode hooks.
+;;
(require 'cc-mode)
@@ -4415,7 +4421,10 @@ Key bindings:
(speedbar-add-supported-extension '(".cs"))) ;; idempotent
(c-update-modeline)
- (c-run-mode-hooks 'c-mode-common-hook 'csharp-mode-hook)
+ ;; run prog-mode-hooks if available
+ (if (boundp 'prog-mode-hook)
+ (c-run-mode-hooks 'prog-mode-hook 'c-mode-common-hook 'csharp-mode-hook)
+ (c-run-mode-hooks 'c-mode-common-hook 'csharp-mode-hook))
;; maybe do imenu scan after hook returns
(if csharp-want-imenu
- [elpa] externals/csharp-mode d657aa0 025/459: Fix error in heading., (continued)
- [elpa] externals/csharp-mode d657aa0 025/459: Fix error in heading., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2a28871 026/459: clean out unused files, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 77cbcf4 030/459: Add byte-compilation, unit-test running to makefile., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 35d295d 008/459: Fix a problem with parsing in csharp-completion.el, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 9f66d3b 011/459: fix doc to remove mention of flymake-command, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode c47e9ea 017/459: v0.8.5 - updates to imenu, fontification, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 1119177 018/459: Small update in string-lastindexof, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 287f044 031/459: Automatically detect version during package-build based on elisp-content., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode bd1d83e 044/459: Updated readme., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode d33cfb6 046/459: Update readme with note about MELPA stable., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b286555 054/459: Ensure csharp-mode calls `prog-mode` hooks.,
ELPA Syncer <=
- [elpa] externals/csharp-mode 78293bd 029/459: Add proper makefile for creating and publishing packages., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 44718a3 007/459: Update of csharp-mode.el - version # is now 0.7.6, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4fc9fad 010/459: Update C# completion stuff, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f6965a6 015/459: v0.8.3 - imenu, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode c1e2c49 024/459: Gitignore for Emacs and Elisp., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode dd321af 027/459: Update changelog and version., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 09fbadc 035/459: Build-status., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode be13af4 040/459: remove obsolete yasnippet integration closes #10, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f4afe09 039/459: remove flymake integration, closes #8, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 16da60e 048/459: Merge branch 'devel' of github.com:josteink/csharp-mode into devel, ELPA Syncer, 2021/08/22