emacs-devel
[Top][All Lists]
Advanced

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

Re: doc-view support for bookmark.el


From: Nick Roberts
Subject: Re: doc-view support for bookmark.el
Date: Wed, 26 Dec 2007 11:05:23 +1300

 > here's the implementation of your idea and doc-view using it.
 > 
 > --8<---------------cut here---------------start------------->8---
 > 2007-12-25  Tassilo Horn  <address@hidden>
 > 
 >      * bookmark.el (bookmark-make-cell-function): New variable.
 >      (bookmark-make): Call bookmark-make-cell-function's function
 >      instead of bookmark-make-cell.
 >      (bookmark-get-handler): New function.
 >      (bookmark-jump, bookmark-jump-other-window, bookmark-insert)
 >      (bookmark-bmenu-2-window, bookmark-bmenu-other-window): Use the
 >      bookmark's handler function if it has one defined.
 >      (bookmark-make-cell-for-text-file): Renamed from
 >      bookmark-make-cell.
 > 
 >      * doc-view.el (doc-view-bookmark-make-cell)
 >      (doc-view-bookmark-jump): New functions.
 >      (doc-view-mode): Set bookmark-make-cell-function buffer-locally.
 > --8<---------------cut here---------------end--------------->8---
 > 
 > Here's the patch:
 > 
 > --8<---------------cut here---------------start------------->8---
 > Index: lisp/doc-view.el
 > ===================================================================
 > RCS file: /sources/emacs/emacs/lisp/doc-view.el,v


As an aside, if you attach your patch at the end of your e-mail, the diff
should apply cleanly without the need for "cut here" markers.


-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

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