diff options
| author | Stefan Monnier | 2006-08-03 18:30:13 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-08-03 18:30:13 +0000 |
| commit | 402adebf6941095fd63f6076352dcc380ff8413f (patch) | |
| tree | 7462ff7b898ba2fb8434d39219f3f99ffa04cefc | |
| parent | 8dea3e2baf6c0cf04bacf77745ac381ba291f522 (diff) | |
| download | emacs-402adebf6941095fd63f6076352dcc380ff8413f.tar.gz emacs-402adebf6941095fd63f6076352dcc380ff8413f.zip | |
(gdb-script-font-lock-syntactic-keywords):
Correctly mark the end-of-docstring char.
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/progmodes/gud.el | 10 |
2 files changed, 19 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d6ca6734af4..1f6e469dd62 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-08-03 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/gud.el (gdb-script-font-lock-syntactic-keywords): | ||
| 4 | Correctly mark the end-of-docstring char. | ||
| 5 | |||
| 1 | 2006-08-03 Chong Yidong <cyd@stupidchicken.com> | 6 | 2006-08-03 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * simple.el (line-move-to-column): Constrain move-to-column to | 8 | * simple.el (line-move-to-column): Constrain move-to-column to |
| @@ -180,8 +185,13 @@ | |||
| 180 | 185 | ||
| 181 | * tumme.el (tumme-backward-image): Add prefix argument. Add error | 186 | * tumme.el (tumme-backward-image): Add prefix argument. Add error |
| 182 | when at first image. | 187 | when at first image. |
| 188 | <<<<<<< ChangeLog | ||
| 189 | (tumme-forward-image): Add prefix argument. | ||
| 190 | Add error when at last image. | ||
| 191 | ======= | ||
| 183 | (tumme-forward-image): Add prefix argument. Add error when at last | 192 | (tumme-forward-image): Add prefix argument. Add error when at last |
| 184 | image. | 193 | image. |
| 194 | >>>>>>> 1.9899 | ||
| 185 | 195 | ||
| 186 | 2006-07-25 Stefan Monnier <monnier@iro.umontreal.ca> | 196 | 2006-07-25 Stefan Monnier <monnier@iro.umontreal.ca> |
| 187 | 197 | ||
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 97e54135a6f..84b40e8ba80 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -3180,7 +3180,15 @@ class of the file (using s to separate nested class ids)." | |||
| 3180 | (defvar gdb-script-font-lock-syntactic-keywords | 3180 | (defvar gdb-script-font-lock-syntactic-keywords |
| 3181 | '(("^document\\s-.*\\(\n\\)" (1 "< b")) | 3181 | '(("^document\\s-.*\\(\n\\)" (1 "< b")) |
| 3182 | ;; It would be best to change the \n in front, but it's more difficult. | 3182 | ;; It would be best to change the \n in front, but it's more difficult. |
| 3183 | ("^en\\(d\\)\\>" (1 "> b")))) | 3183 | ("^end\\>" |
| 3184 | (0 (progn | ||
| 3185 | (unless (eq (match-beginning 0) (point-min)) | ||
| 3186 | (put-text-property (1- (match-beginning 0)) (match-beginning 0) | ||
| 3187 | 'syntax-table (eval-when-compile | ||
| 3188 | (string-to-syntax "> b"))) | ||
| 3189 | (put-text-property (1- (match-beginning 0)) (match-end 0) | ||
| 3190 | 'font-lock-multiline t) | ||
| 3191 | nil)))))) | ||
| 3184 | 3192 | ||
| 3185 | (defun gdb-script-font-lock-syntactic-face (state) | 3193 | (defun gdb-script-font-lock-syntactic-face (state) |
| 3186 | (cond | 3194 | (cond |