Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6b4e9327
Commit
6b4e9327
authored
Nov 15, 2007
by
Juanma Barranquero
Browse files
(log): Fix typo in docstring.
parent
fb70b793
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/erc/erc-log.el
lisp/erc/erc-log.el
+2
-2
No files found.
lisp/erc/erc-log.el
View file @
6b4e9327
...
...
@@ -195,7 +195,7 @@ format is defined through a formatting function on
Since automatic logging is not always a Good Thing (especially if
people say things in different coding systems), you can turn logging
behavio
u
r on and off with the variable `erc-enable-logging', which can
behavior on and off with the variable `erc-enable-logging', which can
also be a predicate function. To only log when you are not set away, use:
\(setq erc-enable-logging
...
...
@@ -385,7 +385,7 @@ You can save every individual message by putting this function on
(
with-current-buffer
buffer
(
save-restriction
(
widen
)
;; early on in the initali
s
ation, don't try and write the log out
;; early on in the init
i
ali
z
ation, don't try and write the log out
(
when
(
and
(
markerp
erc-last-saved-position
)
(
>
erc-insert-marker
(
1+
erc-last-saved-position
)))
(
write-region
(
1+
(
marker-position
erc-last-saved-position
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment