(doc-view-display): Change file arg to buffer arg, so it
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 12 Feb 2008 02:41:55 +0000 (02:41 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 12 Feb 2008 02:41:55 +0000 (02:41 +0000)
commit65073003e712a34a8138859448d2817422ec0415
tree2abbf368cd99205ce3b5f4e0c90da2a9a718da31
parent64663f061c8c65472ea7f3d8cf27f9b3485e0f84
(doc-view-display): Change file arg to buffer arg, so it
works also for buffers w/o buffer-file-name.  Update callers.
(doc-view-clone-buffer-hook): New fun.
(doc-view-mode): Use it for indirect clones.
Mark the overlays with the `doc-view' property so they can be recognized.
lisp/ChangeLog
lisp/doc-view.el