]> git.eshelyaron.com Git - emacs.git/commitdiff
(ada-func-or-proc-name): Match changes to ada-procedure-start-regexp.
authorJuanma Barranquero <lekktu@gmail.com>
Sun, 12 Nov 2006 16:56:53 +0000 (16:56 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Sun, 12 Nov 2006 16:56:53 +0000 (16:56 +0000)
(ada-or-accept, ada-or-delay, ada-or-terminate): Improve doc string.

lisp/progmodes/ada-stmt.el

index 27a6eb66be08ac6c1a4451a77ef6340a877fbcfb..fa6c680779a4fb0f2077f9af9ecff51e6eacfa95 100644 (file)
@@ -67,7 +67,7 @@
   (save-excursion
     (let ((case-fold-search t))
       (if (re-search-backward ada-procedure-start-regexp nil t)
-         (buffer-substring (match-beginning 3) (match-end 3))
+         (match-string 5)
        "NAME?"))))
 
 ;;; ---- statement skeletons ------------------------------------------
@@ -445,21 +445,21 @@ Invoke right after `ada-function-spec' or `ada-procedure-spec'."
 
 
 (define-skeleton ada-or-accept
-  "Insert an or statement, prompting for the condition name."
+  "Insert an accept alternative, prompting for the condition name."
   ()
   < "or\n"
   (ada-accept))
 
 
 (define-skeleton ada-or-delay
-  "Insert a delay statement, prompting for the delay value."
+  "Insert a delay alternative, prompting for the delay value."
   "[delay value]: "
   < "or\n"
   > "delay " str ";")
 
 
 (define-skeleton ada-or-terminate
-  "Insert a terminate statement."
+  "Insert a terminate alternative."
   ()
   < "or\n"
   > "terminate;")