瀏覽代碼

* org-src.el (org-edit-src-code): Fix typo-bug.

This is leftover from Tassilo's previous patch applied today.
Bastien Guerry 13 年之前
父節點
當前提交
4d10c36e2b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-src.el

+ 1 - 1
lisp/org-src.el

@@ -306,7 +306,7 @@ buffer."
 	     (error "Language mode `%s' fails with: %S" lang-f (nth 1 e)))))
 	(dolist (pair transmitted-variables)
 	  (org-set-local (car pair) (cadr pair)))
-	(when eq major-mode 'org-mode
+	(when (eq major-mode 'org-mode)
 	  (goto-char (point-min))
 	  (while (re-search-forward "^," nil t)
 	    (if (eq (org-current-line) line) (setq total-nindent (1+ total-nindent)))