aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasilij Schneidermann <mail@vasilij.de>2017-09-07 18:06:03 +0200
committerGitHub <noreply@github.com>2017-09-07 18:06:03 +0200
commit7c859bf5b92d24c2f3bea3c7b8c147419ab51be4 (patch)
treed1eb4ead6d8e3bb4e6394966bc477c83bb955082
parent9e319417aff11004916436f1aa21f70c18f8c7c1 (diff)
parent5f39cd0df9fa3d3c9740c505a1bd1c0e59804f20 (diff)
Merge pull request #9 from xiongtx/pop-to-metadata-buffer
Use `pop-to-buffer` instead of `display-buffer` for metadata
-rw-r--r--nov.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/nov.el b/nov.el
index bd98752..06ab55c 100644
--- a/nov.el
+++ b/nov.el
@@ -478,7 +478,7 @@ the HTML is rendered with `shr-render-region'."
(insert (propertize "None" 'face 'italic)))
(insert "\n")))
(goto-char (point-min))))
- (display-buffer buffer)))
+ (pop-to-buffer buffer)))
(defun nov-next-chapter ()
"Go to the next chapter and render its document."