emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/progmodes/gud.el


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/gud.el
Date: Fri, 06 Jan 2006 10:56:12 +0000

Index: emacs/lisp/progmodes/gud.el
diff -u emacs/lisp/progmodes/gud.el:1.83 emacs/lisp/progmodes/gud.el:1.84
--- emacs/lisp/progmodes/gud.el:1.83    Sat Dec 31 13:51:27 2005
+++ emacs/lisp/progmodes/gud.el Fri Jan  6 10:56:12 2006
@@ -3139,7 +3139,7 @@
 
 (defun gdb-script-skip-to-head ()
   "We're just in front of an `end' and we need to go to its head."
-  (while (and (re-search-backward 
"^\\s-*\\(\\(end\\)\\|define\\|document\\|if\\|while\\)\\>" nil 'move)
+  (while (and (re-search-backward 
"^\\s-*\\(\\(end\\)\\|define\\|document\\|if\\|while\\|commands\\)\\>" nil 
'move)
              (match-end 2))
     (gdb-script-skip-to-head)))
 
@@ -3158,7 +3158,7 @@
     (forward-line 0)
     (skip-chars-forward " \t")
     (+ (current-indentation)
-       (if (looking-at "\\(if\\|while\\|define\\|else\\)\\>")
+       (if (looking-at "\\(if\\|while\\|define\\|else\\|commands\\)\\>")
           gdb-script-basic-indent 0)))))
 
 (defun gdb-script-indent-line ()




reply via email to

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