Skip to content

Commit

Permalink
Remove debugging function, docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
philjackson committed Sep 17, 2010
1 parent 3e91027 commit 790dd88
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions magit-key-mode.el
Expand Up @@ -221,10 +221,6 @@ put it in magit-key-mode-key-maps for fast lookup."
"A hash-table of current argument set (which will eventually
make it to the git command-line).")

(defun debug-args ()
(interactive)
(maphash (lambda (k v) (print (format "%s: %s" k v))) magit-key-mode-current-args))

(defun magit-key-mode-add-argument (for-group arg-name input-func)
(let ((input (funcall input-func (concat arg-name ": "))))
(puthash arg-name input magit-key-mode-current-args)
Expand Down Expand Up @@ -386,7 +382,8 @@ item on one line."
(interactive)
(magit-key-mode (quote ,sym))))))

;; create the interactive functions for the key mode popups
;; create the interactive functions for the key mode popups (which are
;; applied in the top-level key maps)
(mapc (lambda (g)
(magit-key-mode-generate (car g)))
magit-key-mode-groups)
Expand Down

0 comments on commit 790dd88

Please sign in to comment.