emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107265: Trivial fix for rcirc-markup


From: Leo Liu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107265: Trivial fix for rcirc-markup-attributes
Date: Mon, 13 Feb 2012 15:54:47 +0800
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107265
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Mon 2012-02-13 15:54:47 +0800
message:
  Trivial fix for rcirc-markup-attributes
modified:
  lisp/ChangeLog
  lisp/net/rcirc.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-02-12 21:40:25 +0000
+++ b/lisp/ChangeLog    2012-02-13 07:54:47 +0000
@@ -1,3 +1,8 @@
+2012-02-13  Leo Liu  <address@hidden>
+
+       * net/rcirc.el (rcirc-markup-attributes): Move point to the
+       beginning so that all \C-o chars are removed.
+
 2012-02-12  Teodor Zlatanov  <address@hidden>
 
        * net/gnutls.el (gnutls-algorithm-priority): Add missing :group

=== modified file 'lisp/net/rcirc.el'
--- a/lisp/net/rcirc.el 2012-02-08 02:12:24 +0000
+++ b/lisp/net/rcirc.el 2012-02-13 07:54:47 +0000
@@ -2384,6 +2384,7 @@
     (delete-region (match-beginning 1) (match-end 1))
     (goto-char (match-beginning 1)))
   ;; remove the ^O characters now
+  (goto-char (point-min))
   (while (re-search-forward "\C-o+" nil t)
     (delete-region (match-beginning 0) (match-end 0))))
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]