diff lisp/comint/gdb.el @ 78:c7528f8e288d r20-0b34

Import from CVS: tag r20-0b34
author cvs
date Mon, 13 Aug 2007 09:05:42 +0200
parents b9518feda344
children 0d2f883870bc
line wrap: on
line diff
--- a/lisp/comint/gdb.el	Mon Aug 13 09:05:11 2007 +0200
+++ b/lisp/comint/gdb.el	Mon Aug 13 09:05:42 2007 +0200
@@ -243,6 +243,8 @@
   (interactive)
   (comint-mode)
   (use-local-map gdb-mode-map)
+  (when (not (boundp 'c-mode-syntax-table))
+    (require 'cc-mode))
   (set-syntax-table c-mode-syntax-table)
   (make-local-variable 'gdb-last-frame-displayed-p)
   (make-local-variable 'gdb-last-frame)