Fix jumping to page in DocView's text contents (bug#72275)
* lisp/doc-view.el (doc-view-open-text): Set page-delimiter to the form feed character in the text contents buffer (bug#72275).
This commit is contained in:
parent
42cdfe7f60
commit
c6937ef88b
1 changed files with 2 additions and 0 deletions
|
@ -1779,6 +1779,8 @@ For now these keys are useful:
|
|||
(insert-file-contents txt)
|
||||
(doc-view--text-view-mode)
|
||||
(setq-local doc-view--buffer-file-name dv-bfn)
|
||||
;; Pages are separated by form feed characters.
|
||||
(setq-local page-delimiter "")
|
||||
(set-buffer-modified-p nil)
|
||||
(doc-view-minor-mode)
|
||||
(goto-char (point-min))
|
||||
|
|
Loading…
Add table
Reference in a new issue