Przeglądaj źródła

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

This is leftover from Tassilo's previous patch applied today.
Bastien Guerry 13 lat temu
rodzic
commit
4d10c36e2b
1 zmienionych plików z 1 dodań i 1 usunięć
  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)))