aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-08-30 11:00:32 +0000
committerJuanma Barranquero2005-08-30 11:00:32 +0000
commit691ccfad8f1f9fe82cfed23dcc03125dff5c7fcf (patch)
tree99e0a99358e54d25d6ae4ae1383c6afbf124b1e4
parentd70b5ac5d7f8da9940bb7447960b4f64825c4b0f (diff)
downloademacs-691ccfad8f1f9fe82cfed23dcc03125dff5c7fcf.tar.gz
emacs-691ccfad8f1f9fe82cfed23dcc03125dff5c7fcf.zip
(gdb-active-process, gdb-define-alist, gdb-macro-info, gdb-server-prefix,
gdb-show-changed-values, gdb-var-changed, gdb-var-list, tool-bar-map): Add defvars. (gud-expr-compound-sep, gud-expr-compound): "?\ " -> "?\s".
-rw-r--r--lisp/progmodes/gud.el19
1 files changed, 14 insertions, 5 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 0577e2a2bb7..1486825b07a 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -45,6 +45,15 @@
45(require 'comint) 45(require 'comint)
46(require 'font-lock) 46(require 'font-lock)
47 47
48(defvar gdb-active-process)
49(defvar gdb-define-alist)
50(defvar gdb-macro-info)
51(defvar gdb-server-prefix)
52(defvar gdb-show-changed-values)
53(defvar gdb-var-changed)
54(defvar gdb-var-list)
55(defvar tool-bar-map)
56
48;; ====================================================================== 57;; ======================================================================
49;; GUD commands must be visible in C buffers visited by GUD 58;; GUD commands must be visible in C buffers visited by GUD
50 59
@@ -508,9 +517,9 @@ off the specialized speedbar mode."
508 ;; to return - we don't include the marker in this text. 517 ;; to return - we don't include the marker in this text.
509 output (concat output 518 output (concat output
510 (substring gud-marker-acc 0 (match-beginning 0))) 519 (substring gud-marker-acc 0 (match-beginning 0)))
511 520
512 ;; Set the accumulator to the remaining text. 521 ;; Set the accumulator to the remaining text.
513 522
514 gud-marker-acc (substring gud-marker-acc (match-end 0))) 523 gud-marker-acc (substring gud-marker-acc (match-end 0)))
515 (if (string-equal match "error-begin") 524 (if (string-equal match "error-begin")
516 (put-text-property 0 (length gud-marker-acc) 525 (put-text-property 0 (length gud-marker-acc)
@@ -2865,12 +2874,12 @@ the character after the end of the expr."
2865If `->' is found, return `?.'. If `.' is found, return `?.'. 2874If `->' is found, return `?.'. If `.' is found, return `?.'.
2866If any other punctuation is found, return `??'. 2875If any other punctuation is found, return `??'.
2867If no punctuation is found, return `? '." 2876If no punctuation is found, return `? '."
2868 (let ((result ?\ ) 2877 (let ((result ?\s)
2869 (syntax)) 2878 (syntax))
2870 (while (< span-start span-end) 2879 (while (< span-start span-end)
2871 (setq syntax (char-syntax (char-after span-start))) 2880 (setq syntax (char-syntax (char-after span-start)))
2872 (cond 2881 (cond
2873 ((= syntax ?\ ) t) 2882 ((= syntax ?\s) t)
2874 ((= syntax ?.) (setq syntax (char-after span-start)) 2883 ((= syntax ?.) (setq syntax (char-after span-start))
2875 (cond 2884 (cond
2876 ((= syntax ?.) (setq result ?.)) 2885 ((= syntax ?.) (setq result ?.))
@@ -2902,7 +2911,7 @@ Link exprs of the form:
2902 ((= (car first) (car second)) nil) 2911 ((= (car first) (car second)) nil)
2903 ((= (cdr first) (cdr second)) nil) 2912 ((= (cdr first) (cdr second)) nil)
2904 ((= syntax ?.) t) 2913 ((= syntax ?.) t)
2905 ((= syntax ?\ ) 2914 ((= syntax ?\s)
2906 (setq span-start (char-after (- span-start 1))) 2915 (setq span-start (char-after (- span-start 1)))
2907 (setq span-end (char-after span-end)) 2916 (setq span-end (char-after span-end))
2908 (cond 2917 (cond