[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 6efd459 127/459: Stylistic fixes
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 6efd459 127/459: Stylistic fixes |
Date: |
Sun, 22 Aug 2021 13:59:11 -0400 (EDT) |
branch: externals/csharp-mode
commit 6efd45984ba2491e4d9c4775e4102e8d1fb6c5fc
Author: Vasilij Schneidermann <v.schneidermann@gmail.com>
Commit: Vasilij Schneidermann <v.schneidermann@gmail.com>
Stylistic fixes
---
csharp-mode.el | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index fae6f8b..408cb12 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -4260,25 +4260,22 @@ Key bindings:
;; so I put it afterwards to make it stick.
(make-local-variable 'paragraph-separate)
- ;;(message "C#: set paragraph-separate")
-
;; Speedbar handling
- (if (fboundp 'speedbar-add-supported-extension)
- (speedbar-add-supported-extension '(".cs"))) ;; idempotent
+ (when (fboundp 'speedbar-add-supported-extension)
+ (speedbar-add-supported-extension '(".cs"))) ;; idempotent
(c-update-modeline)
;; maybe do imenu scan after hook returns
- (if csharp-want-imenu
- (progn
- ;; There are two ways to do imenu indexing. One is to provide a
- ;; function, via `imenu-create-index-function'. The other is to
- ;; provide imenu with a list of regexps via
- ;; `imenu-generic-expression'; imenu will do a "generic scan" for you.
- ;; csharp-mode uses the former method.
- ;;
- (setq imenu-create-index-function 'csharp-imenu-create-index)
- (imenu-add-menubar-index)))
+ (when csharp-want-imenu
+ ;; There are two ways to do imenu indexing. One is to provide a
+ ;; function, via `imenu-create-index-function'. The other is to
+ ;; provide imenu with a list of regexps via
+ ;; `imenu-generic-expression'; imenu will do a "generic scan" for you.
+ ;; csharp-mode uses the former method.
+
+ (setq imenu-create-index-function 'csharp-imenu-create-index)
+ (imenu-add-menubar-index))
;; The paragraph-separate variable was getting stomped by
;; other hooks, so it must reside here.
- [elpa] externals/csharp-mode a6eb8bd 047/459: Merge changes from branch 'devel', (continued)
- [elpa] externals/csharp-mode a6eb8bd 047/459: Merge changes from branch 'devel', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 6289cfd 051/459: Fix broken byte-compile., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 1f2fc21 055/459: Remove obsolete workarounds from README., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode d7ba765 063/459: Merge changes from devel., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode ed628e6 075/459: Attempt fix compilation-mode regexps for both xbuild & msbuild., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3c2f942 087/459: Merge pull request #34 from binki/master, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 31eebb9 079/459: create separate compilation regexps for xbuild, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 42ca773 097/459: Fix runtime warnings about obsolete Emacs-functions., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0779fe4 107/459: Update changelog., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 1f0465b 126/459: Fix comments, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 6efd459 127/459: Stylistic fixes,
ELPA Syncer <=
- [elpa] externals/csharp-mode 3b54997 130/459: Merge pull request #55 from josteink/derive-from-prog-mode, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode a553430 146/459: Merge pull request #66 from shoover/explicit-interface-property, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 157299a 013/459: Update TFS module., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3651a40 119/459: Use cl-lib equivalent, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 91fff08 124/459: Fontify conversion operators definitions. Fontify base interfaces names for 'interface' and 'struct' declarations., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 9e78a26 128/459: Derive from prog-mode, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 6e3cdc1 129/459: Add a regression test, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0a61f21 131/459: Bump version., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f367ef6 135/459: Cleanup test-code for imenu-fixes., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 8ec64b4 136/459: Merge pull request #57 from josteink/imenu-fixes, ELPA Syncer, 2021/08/22