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

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

[elpa] externals/csharp-mode 1119177 018/459: Small update in string-las


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 1119177 018/459: Small update in string-lastindexof
Date: Sun, 22 Aug 2021 13:58:46 -0400 (EDT)

branch: externals/csharp-mode
commit 11191778a240bcd42ce2b3b7325c4ebd4edc42c9
Author: Dino Chiesa <dpchiesa@hotmail.com>
Commit: Dino Chiesa <dpchiesa@hotmail.com>

    Small update in string-lastindexof
---
 csharp-mode.el | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index e91e668..5515bf2 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -4,10 +4,10 @@
 ;; Maintainer : Dino Chiesa <dpchiesa@hotmail.com>
 ;; Created    : Feburary 2005
 ;; Modified   : May 2011
-;; Version    : 0.8.5
+;; Version    : 0.8.6
 ;; Keywords   : c# languages oop mode
 ;; X-URL      : http://code.google.com/p/csharpmode/
-;; Last-saved : <2011-May-21 20:26:02>
+;; Last-saved : <2011-May-22 10:48:26>
 
 ;;
 ;; This program is free software; you can redistribute it and/or modify
@@ -376,6 +376,9 @@
 ;;          - imenu scan: now handle curlies within strings.
 ;;          - imenu: split menus now have better labels, are sorted correctly.
 ;;
+;;    0.8.6 DPC 2011 May ??
+;;          - extern keyword
+;;
 
 (require 'cc-mode)
 
@@ -1849,7 +1852,7 @@ wrote this alternative.
   csharp '("namespace"))
 
 (c-lang-defconst c-other-kwds
-  csharp '("sizeof" "typeof" "is" "as" "yield"
+  csharp '("sizeof" "typeof" "is" "as" "yield" "extern"
            "where" "select" "in" "from"))
 
 (c-lang-defconst c-overloadable-operators
@@ -3935,7 +3938,7 @@ Returns nil if not found.
 See also, `string-indexof'
 
 "
-  (let ((i (length s))
+  (let ((i (1- (length s)))
         ix c2)
     (while (and (>= i 0) (not ix))
       (setq c2 (aref s i))



reply via email to

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