diff lisp/comint/gdb.el @ 12:bcdc7deadc19 r19-15b7

Import from CVS: tag r19-15b7
author cvs
date Mon, 13 Aug 2007 08:48:16 +0200
parents b82b59fe008d
children 8fc7fe29b841
line wrap: on
line diff
--- a/lisp/comint/gdb.el	Mon Aug 13 08:47:56 2007 +0200
+++ b/lisp/comint/gdb.el	Mon Aug 13 08:48:16 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)