Permalink
Browse files

Get rid of an unnecessary use of let* when let will suffice.

  • Loading branch information...
wfarr committed Apr 23, 2009
1 parent c555e86 commit 50151c68db56b00016fc2bc1e5640dcb265d7361
Showing with 1 addition and 1 deletion.
  1. +1 −1 add-import.el
View
@@ -13,7 +13,7 @@
(defun find-language ()
;; check major mode
(cond (major-mode
- (let* ((current-mode (symbol-name major-mode)))
+ (let ((current-mode (symbol-name major-mode)))
(string-match "^\\([[:alpha:]-]+\\)\\-mode" current-mode)
(match-string 1 current-mode))))
;;TODO

0 comments on commit 50151c6

Please sign in to comment.