Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
10sr committed Jul 3, 2016
1 parent 057b8db commit 417cc46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is a Emacs Lisp package that provides a hook variable
`switch-buffer-functions`.

This hook will be run when the current buffer has been changed after each
interactive command, i.e. `post-command-hook` is called.
interactive command, i.e. when `post-command-hook` is called.

When functions are hooked, they will be called with the previous buffer and
the current buffer. For example, if you eval:
Expand All @@ -22,7 +22,7 @@ the current buffer. For example, if you eval:
(lambda (prev cur) (message "%S -> %S" prev cur)))
----

then the message like `"#<buffer *Messages*> -> #<buffer init.el<.emacs.d>>"`
then the message like `"#<buffer \*Messages\*> -> #<buffer init.el<.emacs.d>>"`
will be displayed to the echo area each time when you switch the current
buffer.

Expand Down

0 comments on commit 417cc46

Please sign in to comment.