Browse Source

Merge branch 'maint'

Bastien Guerry 11 năm trước cách đây
mục cha
commit
a6f8460487
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lisp/org-src.el

+ 1 - 1
lisp/org-src.el

@@ -740,7 +740,7 @@ with \",*\", \",#+\", \",,*\" and \",,#+\"."
         (while (re-search-forward "^" nil t)
           (if (not (looking-at "$"))
               (replace-match indent)
-	    (forward-char 1))))
+	    (or (eobp) (forward-char 1)))))
       (if (org-bound-and-true-p org-edit-src-picture)
 	  (setq total-nindent (+ total-nindent 2)))
       (setq code (buffer-string))