瀏覽代碼

Revert "Use `delete-char' instead of `delete-backward-char'"

This reverts commit 00040e708c68af0ada8ae17a74485304d3d5a817.

See this email by Achim Gratz:
http://comments.gmane.org/gmane.emacs.orgmode/52717
Bastien Guerry 13 年之前
父節點
當前提交
2a94e997f4
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      lisp/org-table.el
  2. 1 1
      lisp/org.el

+ 1 - 1
lisp/org-table.el

@@ -4154,7 +4154,7 @@ overwritten, and the table is not marked as requiring realignment."
 	   (looking-at "[^|\n]*  +|"))
       (let (org-table-may-need-update)
 	(goto-char (1- (match-end 0)))
-	(delete-char -1)
+	(delete-backward-char 1)
 	(goto-char (match-beginning 0))
 	(self-insert-command N))
     (setq org-table-may-need-update t)

+ 1 - 1
lisp/org.el

@@ -17626,7 +17626,7 @@ overwritten, and the table is not marked as requiring realignment."
      (looking-at "[^|\n]*  |"))
     (let (org-table-may-need-update)
       (goto-char (1- (match-end 0)))
-      (delete-char -1)
+      (delete-backward-char 1)
       (goto-char (match-beginning 0))
       (self-insert-command N)))
    (t