Permalink
Browse files

Merge pull request #2 from vhallac/master

Small fix in defjump
  • Loading branch information...
2 parents 377ebb8 + 948a607 commit 9d317066a99fe27de6b4988333709399c3405620 @eschulte committed Jun 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jump.el
View
2 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))
matches)
(loop ;; try every rule in mappings

0 comments on commit 9d31706

Please sign in to comment.