emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csharp-mode 99e5f73d36 1/2: Add instruction to delete c


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 99e5f73d36 1/2: Add instruction to delete csharp-mode
Date: Sat, 26 Nov 2022 15:57:29 -0500 (EST)

branch: externals/csharp-mode
commit 99e5f73d365c35a90de9c6d1a8c8c1c8771a2547
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Theodor Thornhill <theo@thornhill.no>

    Add instruction to delete csharp-mode
---
 csharp-mode.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index b11963b128..fbb4c6c04e 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -37,6 +37,10 @@
 
 (require 'csharp-compilation)
 
+(eval-and-compile
+  (when (version< "29" emacs-version)
+    (warn "csharp-mode is part of Emacs as of Emacs 29 - please delete this 
package.")))
+
 (defgroup csharp nil
   "Major mode for editing C# code."
   :group 'prog-mode)
@@ -563,8 +567,6 @@ compilation and evaluation time conflicts."
 
 ;;; End of fix for strings on version 27.1
 
-
-
 (defvar csharp-mode-syntax-table
   (funcall (c-lang-const c-make-mode-syntax-table csharp))
   "Syntax table used in `csharp-mode' buffers.")
@@ -588,6 +590,8 @@ compilation and evaluation time conflicts."
 Key bindings:
 \\{csharp-mode-map}"
   :after-hook (c-update-modeline)
+  (when (version< "29" emacs-version)
+    (warn "csharp-mode is part of Emacs as of Emacs 29 - please delete this 
package."))
   (c-initialize-cc-mode t)
   (c-init-language-vars csharp-mode)
   (c-common-init 'csharp-mode)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]