Permalink
Browse files

Remove return statement that broke stuff

  • Loading branch information...
1 parent 803a5e4 commit 418a06cbca4a08281e15df9bbbd2196dee400d4a @wfarr committed Apr 24, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 add-import.el
View
2 add-import.el
@@ -16,7 +16,7 @@
((not (string= major-mode "fundamental-mode"))
(let ((current-mode (symbol-name major-mode)))
(string-match "^\\([[:alpha:]-]+\\)\\-mode" current-mode)
- (return (match-string 1 current-mode))))
+ (match-string 1 current-mode)))
;; check extension
((or (buffer-file-name) (buffer-name))
(let ((bufname (or (buffer-file-name) (buffer-name))))

0 comments on commit 418a06c

Please sign in to comment.