Browse files

Incorporate @vhallac's fix for when defjump root is a function

  • Loading branch information...
1 parent 7c93fba commit 599fb5dc0bd4879777ac5c67b0f0ccf82f90bb0d @purcell purcell committed Jun 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jump.el
@@ -288,7 +288,7 @@ find the current method which defaults to `which-function'."
`(defun ,name (&optional create)
,(concat doc "\n\nautomatically created by `defjump'")
(interactive "P")
- (let ((root ,(if (functionp root) (root) root))
+ (let ((root ,(if (functionp root) `(,root) root))
(method-command ,(or method-command 'which-function))
(loop ;; try every rule in mappings

0 comments on commit 599fb5d

Please sign in to comment.