Clean up last bookmark changes for man/woman/gnus-summary.
commit398a825b8d994882672906103f330ad8662d1ed6
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 12 Apr 2010 16:09:47 +0000 (12 12:09 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 12 Apr 2010 16:09:47 +0000 (12 12:09 -0400)
treee8bc65e0c23632b8e2909d89f51b20dd095a05e2
parent45be326afc57551050f71b07cb40752a8dfa2aa3
Clean up last bookmark changes for man/woman/gnus-summary.
* gnus-sum.el: Add bookmark declarations to silence the compiler.
(gnus-mark-xrefs-as-read, gnus-summary-limit-to-bodies):
Use with-current-buffer to silence the byte-compiler.
(gnus-summary-bookmark-make-record): Use derived-mode-p and don't
bother to require `gnus'.
(gnus-summary-bookmark-jump): Don't forget to autoload.  Simplify.
* woman.el: Add bookmark declarations to silence the compiler.
(bookmark-prop-get): Use `man-args' rather than `filename' as a first
step to compatibility between man and woman bookmarks.
Adjust for Man-default-bookmark-title renaming.
(woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
* man.el: Add bookmark declarations to silence the compiler.
(Man-name-local-regexp): Make it match NAME as well.
(Man-getpage-in-background): Return the buffer.
(Man-notify-when-ready): Use `case'.
(man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
Don't hardcode "NAME".  Simplify.
(Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
Rename from Man-bookmark-make-record.
(Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
we have the actual man-args.  Use Man-getpage-in-background rather
than `man' since the arg is already processed.  Let bookmark.el do the
window handling.  Only wait for the relevant process.
Don't forget to autoload.
* bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
lisp/ChangeLog
lisp/bookmark.el
lisp/gnus/ChangeLog
lisp/gnus/gnus-sum.el
lisp/man.el
lisp/woman.el