* bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
authorKarl Fogel <kfogel@red-bean.com>
Mon, 5 Oct 2009 04:19:04 +0000 (04:19 +0000)
committerKarl Fogel <kfogel@red-bean.com>
Mon, 5 Oct 2009 04:19:04 +0000 (04:19 +0000)
commit5feb1ba7e5c222ffbc9060e7efa0b00f36638d6e
tree1dcc8dd731f385fa59829b9f264022d7f1463983
parent1bd49952d72256c015b1d097727762276399cc27
* bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
    don't do anything related to relocating, just return nil.
  (bookmark-error-no-filename): New error.
  (bookmark-default-handler): Signal `bookmark-error-no-filename' if
    bookmark has no file.  Don't even attempt to handle things that
    are not files; the whole point of custom handlers is to keep that
    knowledge elsewhere anyway.  Tighten some comments.
  (bookmark-file-or-variation-thereof): Remove now-unused function.
  (bookmark-location): Doc string fix.

(Bug#4250)
lisp/ChangeLog
lisp/bookmark.el