]> git.eshelyaron.com Git - emacs.git/commitdiff
(bookmark-alist): Document the new `handler' element in the param alist.
authorKarl Fogel <kfogel@red-bean.com>
Sun, 4 Oct 2009 23:48:33 +0000 (23:48 +0000)
committerKarl Fogel <kfogel@red-bean.com>
Sun, 4 Oct 2009 23:48:33 +0000 (23:48 +0000)
(bookmark-make-record-function): Adjust documentation for above.
(Bug#4193)

lisp/ChangeLog
lisp/bookmark.el

index 2f65655e4abe7911ad390a91e04989d9a6b4965a..cf070abcce5d91132f8842510f6cdb3c3f6f2753 100644 (file)
@@ -1,3 +1,10 @@
+2009-10-04  Karl Fogel  <kfogel@red-bean.com>
+
+       * bookmark.el (bookmark-alist): Document the new `handler' element
+       in the param alist.
+       (bookmark-make-record-function): Adjust documentation for above.
+       (Bug#4193)
+
 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
 
        * info.el (Info-bookmark-make-record): Document this function.
index 613c3e07c851e94a603ba6aa01ec210c7e898ad1..c072b568a8239300e2fb6910c678f04b84930eea 100644 (file)
@@ -270,7 +270,12 @@ the new favored one.  PARAM-ALIST is typically of the form:
   (front-context-string . FRONT-STR)
   (rear-context-string  . REAR-STR)
   (position . POS)
-  (annotation . ANNOTATION)))")
+  (handler . HANDLER-FUNC)
+  (annotation . ANNOTATION))
+
+If the element `(handler . HANDLER-FUNC)' is present, HANDLER-FUNC
+will be used to open this bookmark instead of `bookmark-default-handler',
+whose calling discipline HANDLER-FUNC should of course match.")
 
 
 (defvar bookmarks-already-loaded nil)
@@ -457,10 +462,9 @@ the current location.
 
 The returned record should be a cons cell of the form (NAME . ALIST)
 where ALIST is as described in `bookmark-alist' and may typically contain
-a special cons (handler . SOME-FUNCTION) which sets the handler function
-that should be used to open this bookmark instead of
-`bookmark-default-handler'.  The handler should follow the same calling
-convention as the one used by `bookmark-default-handler'.
+a special cons (handler . HANDLER-FUNC) which specifies the handler function
+that should be used instead of `bookmark-default-handler' to open this
+bookmark.  See the documentation for `bookmark-alist' for more.
 
 NAME is a suggested name for the constructed bookmark.  It can be nil
 in which case a default heuristic will be used.  The function can also