# HG changeset patch # User Stefan Monnier # Date 1154629813 0 # Node ID 93223615e952df24a475ea4550777d191230ade6 # Parent 2eb34581dbad7bc228ad2cdcc5bae0b253611654 (gdb-script-font-lock-syntactic-keywords): Correctly mark the end-of-docstring char. diff -r 2eb34581dbad -r 93223615e952 lisp/ChangeLog --- a/lisp/ChangeLog Thu Aug 03 18:27:50 2006 +0000 +++ b/lisp/ChangeLog Thu Aug 03 18:30:13 2006 +0000 @@ -1,3 +1,8 @@ +2006-08-03 Stefan Monnier + + * progmodes/gud.el (gdb-script-font-lock-syntactic-keywords): + Correctly mark the end-of-docstring char. + 2006-08-03 Chong Yidong * simple.el (line-move-to-column): Constrain move-to-column to @@ -180,8 +185,13 @@ * tumme.el (tumme-backward-image): Add prefix argument. Add error when at first image. +<<<<<<< ChangeLog + (tumme-forward-image): Add prefix argument. + Add error when at last image. +======= (tumme-forward-image): Add prefix argument. Add error when at last image. +>>>>>>> 1.9899 2006-07-25 Stefan Monnier diff -r 2eb34581dbad -r 93223615e952 lisp/progmodes/gud.el --- a/lisp/progmodes/gud.el Thu Aug 03 18:27:50 2006 +0000 +++ b/lisp/progmodes/gud.el Thu Aug 03 18:30:13 2006 +0000 @@ -3180,7 +3180,15 @@ (defvar gdb-script-font-lock-syntactic-keywords '(("^document\\s-.*\\(\n\\)" (1 "< b")) ;; It would be best to change the \n in front, but it's more difficult. - ("^en\\(d\\)\\>" (1 "> b")))) + ("^end\\>" + (0 (progn + (unless (eq (match-beginning 0) (point-min)) + (put-text-property (1- (match-beginning 0)) (match-beginning 0) + 'syntax-table (eval-when-compile + (string-to-syntax "> b"))) + (put-text-property (1- (match-beginning 0)) (match-end 0) + 'font-lock-multiline t) + nil)))))) (defun gdb-script-font-lock-syntactic-face (state) (cond