* wl-address.el (wl-address-make-alist-from-alias-file): Use
authorkaoru <kaoru>
Tue, 24 Aug 2010 00:29:55 +0000 (00:29 +0000)
committerkaoru <kaoru>
Tue, 24 Aug 2010 00:29:55 +0000 (00:29 +0000)
`(delete-char -1)' instead of `(delete-backward-char 1)' that
deletes region in Emacs 24.
See delete-active-region described in NEWS.
* wl-draft.el (wl-draft-insert-mail-header-separator): Ditto.
* wl-summary.el (wl-summary-update-persistent-mark): Ditto.

wl/ChangeLog
wl/wl-address.el
wl/wl-draft.el
wl/wl-summary.el

index d8936a4..0121fb1 100644 (file)
@@ -1,3 +1,12 @@
+2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
+
+       * wl-address.el (wl-address-make-alist-from-alias-file): Use
+       `(delete-char -1)' instead of `(delete-backward-char 1)' that
+       deletes region in Emacs 24.
+       See delete-active-region described in NEWS.
+       * wl-draft.el (wl-draft-insert-mail-header-separator): Ditto.
+       * wl-summary.el (wl-summary-update-persistent-mark): Ditto.
+
 2010-08-14  David Maus  <dmaus@ictsoc.de>
 
        * wl-summary.el (wl-summary-mode-menu-spec): Add menu option to
index c63c5f1..f657e3b 100644 (file)
@@ -531,7 +531,7 @@ Refresh `wl-address-list', `wl-address-completion-list', and
       (while (re-search-forward ",$" nil t)
        (end-of-line)
        (forward-char 1)
-       (delete-backward-char 1))
+       (delete-char -1))
       (goto-char (point-min))
       (while (re-search-forward "^\\([^#;\n][^:]+\\):[ \t]*\\(.*\\)$" nil t)
        (setq alias (wl-match-buffer 1)
index 0e64e1b..28b73b2 100644 (file)
@@ -1878,7 +1878,7 @@ If KILL-WHEN-DONE is non-nil, current draft buffer is killed"
        (goto-char delimline)
       (goto-char (point-min))
       (if (search-forward "\n\n" nil t)
-         (delete-backward-char 1)
+         (delete-char -1)
        (goto-char (point-max))))
     (wl-draft-check-new-line)
     (put-text-property (point)
index 63cabbe..cb4b661 100644 (file)
@@ -3143,7 +3143,7 @@ Return non-nil if the mark is updated"
                  (new-mark (wl-summary-persistent-mark number status)))
              (prog1
                  (unless (string= new-mark mark)
-                   (delete-backward-char 1)
+                   (delete-char -1)
                    (insert new-mark)
                    (wl-summary-set-message-modified)
                    t)