summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-match.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2006-07-14 02:29:50 +0000
committerMiles Bader <miles@gnu.org>2006-07-14 02:29:50 +0000
commit0b6bb13008bc74c054c00b8f9d24507dd9383689 (patch)
treeadf40183ef9d45dbbb00d1ace47e4b245396e198 /lisp/erc/erc-match.el
parentb96028676212ff2a63baaf7087cd88fdc60f907b (diff)
downloademacs-0b6bb13008bc74c054c00b8f9d24507dd9383689.tar.gz
emacs-0b6bb13008bc74c054c00b8f9d24507dd9383689.tar.bz2
emacs-0b6bb13008bc74c054c00b8f9d24507dd9383689.zip
Update for ERC 5.1.3.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-348 Creator: Michael Olson <mwolson@gnu.org>
Diffstat (limited to 'lisp/erc/erc-match.el')
-rw-r--r--lisp/erc/erc-match.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/erc/erc-match.el b/lisp/erc/erc-match.el
index 88c6d4c425d..ffbc7482aae 100644
--- a/lisp/erc/erc-match.el
+++ b/lisp/erc/erc-match.el
@@ -553,10 +553,9 @@ deactivate/activate match logging in the latter. See
?m message
?u nickuserhost))))
(with-current-buffer (erc-log-matches-make-buffer match-buffer-name)
- (toggle-read-only -1)
- (point-max)
- (insert line)
- (toggle-read-only 1))))))
+ (let ((inhibit-read-only t))
+ (goto-char (point-max))
+ (insert line)))))))
(defun erc-log-matches-make-buffer (name)
"Create or get a log-matches buffer named NAME and return it."