Skip to content

Commit

Permalink
Allow dape-key-prefix to be nil.
Browse files Browse the repository at this point in the history
Copyright-paperwork-exempt: yes.
  • Loading branch information
milanglacier committed Dec 31, 2023
1 parent 9ecd6ba commit a0be19d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Currently =Dape= does not come with any debug adapter configuration.
;; To use window configuration like gud (gdb-mi)
;; :init
;; (setq dape-buffer-window-arrangement 'gud)

:config
;; Info buffers to the right
;; (setq dape-buffer-window-arrangement 'right)
Expand All @@ -49,6 +50,7 @@ Currently =Dape= does not come with any debug adapter configuration.
;; (add-hook 'dape-on-stopped-hooks 'dape-repl)

;; By default dape uses gdb keybinding prefix
;; If you do not want to use any prefix, set it to nil.
;; (setq dape-key-prefix "\C-x\C-a")

;; Kill compile buffer on build success
Expand Down
2 changes: 1 addition & 1 deletion dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -3725,7 +3725,7 @@ See `eldoc-documentation-functions', for more infomation."
dape-watch-dwim))
(put cmd 'repeat-map 'dape-global-map))

(global-set-key dape-key-prefix dape-global-map)
(when dape-key-prefix (global-set-key dape-key-prefix dape-global-map))


;;; Hooks
Expand Down

0 comments on commit a0be19d

Please sign in to comment.