[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc-view support for bookmark.el

From: martin rudalics
Subject: Re: doc-view support for bookmark.el
Date: Tue, 25 Dec 2007 18:54:48 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> When I was doing that I found some strange code: bookmark-jump-noselect
> opened the bookmarked file, set point at the correct position and
> returned a cons (BUFFER . POSITION).  All calling functions did set the
> position once again.  I suspect that was a relict of the past, so I
> removed it and now bookmark-jump-noselect only returns the buffer.

(defun bookmark-jump-noselect (str)
            (cons (current-buffer) (point))))

The position might be in the same buffer where the excursion occurred,
hence this is needed.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]