]> code.delx.au - gnu-emacs/commitdiff
* lisp/progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
authorSam Steingold <sds@gnu.org>
Wed, 18 Apr 2012 20:26:57 +0000 (16:26 -0400)
committerSam Steingold <sds@gnu.org>
Wed, 18 Apr 2012 20:26:57 +0000 (16:26 -0400)
instead of 'string to accommodate values like [f11].
Always use `vconcat' instead of `concat' on it, like in `gud-def'.
* lisp/progmodes/gdb-mi.el: Likewise.

lisp/ChangeLog
lisp/progmodes/gdb-mi.el
lisp/progmodes/gud.el

index de484dc68fa51e0afb71c793711615e191cdb876..edfe575a57661330cd85c67bc829236ecf6f73be 100644 (file)
@@ -1,3 +1,10 @@
+2012-04-18  Sam Steingold  <sds@gnu.org>
+
+       * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
+       instead of 'string to accommodate values like [f11].
+       Always use `vconcat' instead of `concat' on it, like in `gud-def'.
+       * progmodes/gdb-mi.el: Likewise.
+
 2012-04-18  Leo Liu  <sdl.web@gmail.com>
 
        * abbrev.el (edit-abbrevs): Move point to the abbrev table of
index 89450cd22766744ed50a45d9a2d8f0a13bebfc17..497d2440cfd85728402c7e87f600667acf5fc705 100644 (file)
@@ -1056,7 +1056,7 @@ positive, otherwise don't automatically raise it."
                   (if gdb-speedbar-auto-raise "en" "dis"))))
 
 (define-key gud-minor-mode-map "\C-c\C-w" 'gud-watch)
-(define-key global-map (concat gud-key-prefix "\C-w") 'gud-watch)
+(define-key global-map (vconcat gud-key-prefix "\C-w") 'gud-watch)
 
 (declare-function tooltip-identifier-from-point "tooltip" (point))
 
index 6b1f891b2305664f1c67c9535a271758b6d02826..1f60c351252e042b52cc11f9dc376f546bc8cabc 100644 (file)
@@ -66,10 +66,10 @@ Supported debuggers include gdb, sdb, dbx, xdb, perldb, pdb (Python) and jdb."
 
 (defcustom gud-key-prefix "\C-x\C-a"
   "Prefix of all GUD commands valid in C buffers."
-  :type 'string
+  :type 'key-sequence
   :group 'gud)
 
-(global-set-key (concat gud-key-prefix "\C-l") 'gud-refresh)
+(global-set-key (vconcat gud-key-prefix "\C-l") 'gud-refresh)
 (define-key ctl-x-map " " 'gud-break)  ;; backward compatibility hack
 
 (defvar gud-marker-filter nil)