diff options
| author | Glenn Morris | 2014-11-04 21:08:57 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-11-04 21:08:57 -0800 |
| commit | b6e66a5cc78e353ff9ae6cdd0807eefcf55b4934 (patch) | |
| tree | c7562d5cde06977fc2eb14a7c0b6972738696386 /lisp/erc | |
| parent | ddce73d32fa3e62e022842e3bbdc0aa83bb358cc (diff) | |
| parent | 58064b4da2835acb24d0f68021c84102e0fb1c0f (diff) | |
| download | emacs-b6e66a5cc78e353ff9ae6cdd0807eefcf55b4934.tar.gz emacs-b6e66a5cc78e353ff9ae6cdd0807eefcf55b4934.zip | |
Merge from emacs-24; up to 117669
Diffstat (limited to 'lisp/erc')
| -rw-r--r-- | lisp/erc/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index 75a01581fcd..0875994e775 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * erc.el (erc-send-input): Bind `str' dynamically (bug#18936). | ||
| 4 | |||
| 1 | 2014-10-29 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2014-10-29 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Simplify use of current-time and friends. | 7 | Simplify use of current-time and friends. |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 3bb68abfc9e..37b24eaaa60 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -1005,7 +1005,7 @@ display of that particular string at all." | |||
| 1005 | "Hook called first when some text is sent through `erc-send-current-line'. | 1005 | "Hook called first when some text is sent through `erc-send-current-line'. |
| 1006 | It gets called with one argument, STRING. | 1006 | It gets called with one argument, STRING. |
| 1007 | 1007 | ||
| 1008 | To change the text that will be sent, set the variable STR which is | 1008 | To change the text that will be sent, set the variable `str' which is |
| 1009 | used in `erc-send-current-line'. | 1009 | used in `erc-send-current-line'. |
| 1010 | 1010 | ||
| 1011 | To change the text inserted into the buffer without changing the text | 1011 | To change the text inserted into the buffer without changing the text |
| @@ -5361,6 +5361,7 @@ This returns non-nil only if we actually send anything." | |||
| 5361 | (beep)) | 5361 | (beep)) |
| 5362 | nil) | 5362 | nil) |
| 5363 | (t | 5363 | (t |
| 5364 | (defvar str) ;; FIXME: Make it obey the "erc-" prefix convention. | ||
| 5364 | (let ((str input) | 5365 | (let ((str input) |
| 5365 | (erc-insert-this t)) | 5366 | (erc-insert-this t)) |
| 5366 | (setq erc-send-this t) | 5367 | (setq erc-send-this t) |