diff options
Diffstat (limited to 'lisp/erc')
| -rw-r--r-- | lisp/erc/erc-log.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/erc/erc-log.el b/lisp/erc/erc-log.el index 88132afae0c..651b80399ee 100644 --- a/lisp/erc/erc-log.el +++ b/lisp/erc/erc-log.el | |||
| @@ -195,7 +195,7 @@ format is defined through a formatting function on | |||
| 195 | 195 | ||
| 196 | Since automatic logging is not always a Good Thing (especially if | 196 | Since automatic logging is not always a Good Thing (especially if |
| 197 | people say things in different coding systems), you can turn logging | 197 | people say things in different coding systems), you can turn logging |
| 198 | behaviour on and off with the variable `erc-enable-logging', which can | 198 | behavior on and off with the variable `erc-enable-logging', which can |
| 199 | also be a predicate function. To only log when you are not set away, use: | 199 | also be a predicate function. To only log when you are not set away, use: |
| 200 | 200 | ||
| 201 | \(setq erc-enable-logging | 201 | \(setq erc-enable-logging |
| @@ -385,7 +385,7 @@ You can save every individual message by putting this function on | |||
| 385 | (with-current-buffer buffer | 385 | (with-current-buffer buffer |
| 386 | (save-restriction | 386 | (save-restriction |
| 387 | (widen) | 387 | (widen) |
| 388 | ;; early on in the initalisation, don't try and write the log out | 388 | ;; early on in the initialization, don't try and write the log out |
| 389 | (when (and (markerp erc-last-saved-position) | 389 | (when (and (markerp erc-last-saved-position) |
| 390 | (> erc-insert-marker (1+ erc-last-saved-position))) | 390 | (> erc-insert-marker (1+ erc-last-saved-position))) |
| 391 | (write-region (1+ (marker-position erc-last-saved-position)) | 391 | (write-region (1+ (marker-position erc-last-saved-position)) |