diff options
| author | Stefan Monnier | 2014-11-04 15:07:59 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2014-11-04 15:07:59 -0500 |
| commit | 6cd9d8c94dd81f7aa1753b1c6320d089f0fe6fcd (patch) | |
| tree | f09fd3f2e2bf8c32f0a33c73bec565809797e792 | |
| parent | a1740a150d2d15189b0e93878845e62a569c257f (diff) | |
| download | emacs-6cd9d8c94dd81f7aa1753b1c6320d089f0fe6fcd.tar.gz emacs-6cd9d8c94dd81f7aa1753b1c6320d089f0fe6fcd.zip | |
* lisp/erc/erc.el (erc-send-input): Bind `str' dynamically.
Fixes: debbugs:18936
| -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 ca018c47db8..869befc1191 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-11-04 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * erc.el (erc-send-input): Bind `str' dynamically (bug#18936). | ||
| 4 | |||
| 1 | 2014-10-20 Glenn Morris <rgm@gnu.org> | 5 | 2014-10-20 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Version 24.4 released. | 7 | * Version 24.4 released. |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index d93e9e02156..3a107c69f9a 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -975,7 +975,7 @@ display of that particular string at all." | |||
| 975 | "Hook called first when some text is sent through `erc-send-current-line'. | 975 | "Hook called first when some text is sent through `erc-send-current-line'. |
| 976 | It gets called with one argument, STRING. | 976 | It gets called with one argument, STRING. |
| 977 | 977 | ||
| 978 | To change the text that will be sent, set the variable STR which is | 978 | To change the text that will be sent, set the variable `str' which is |
| 979 | used in `erc-send-current-line'. | 979 | used in `erc-send-current-line'. |
| 980 | 980 | ||
| 981 | To change the text inserted into the buffer without changing the text | 981 | To change the text inserted into the buffer without changing the text |
| @@ -5268,6 +5268,7 @@ This returns non-nil only if we actually send anything." | |||
| 5268 | (beep)) | 5268 | (beep)) |
| 5269 | nil) | 5269 | nil) |
| 5270 | (t | 5270 | (t |
| 5271 | (defvar str) ;; FIXME: Make it obey the "erc-" prefix convention. | ||
| 5271 | (let ((str input) | 5272 | (let ((str input) |
| 5272 | (erc-insert-this t)) | 5273 | (erc-insert-this t)) |
| 5273 | (setq erc-send-this t) | 5274 | (setq erc-send-this t) |