瀏覽代碼

Remove unnecessary local variable

Carsten Dominik 14 年之前
父節點
當前提交
cd04462438
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      lisp/org-latex.el

+ 1 - 2
lisp/org-latex.el

@@ -2328,8 +2328,7 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
     (while (re-search-forward
 	    "^[ \t]*#\\+index:[ \t]*\\([^ \t\r\n].*?\\)[ \t]*$"
 	    nil t)
-      (let ((entry (match-string 1)))
-	(replace-match (format "\\index{%s}" (match-string 1)) t t))))
+      (replace-match (format "\\index{%s}" (match-string 1)) t t)))
 
   ;; Convert center
   (goto-char (point-min))