Commit a77b0ac9 authored by Sam Steingold's avatar Sam Steingold
Browse files

* lisp/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'.
* lisp/progmodes/gdb-mi.el: Likewise.
parent 99c8ec3f
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
......
......@@ -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))
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment