emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp bookmark.el ChangeLog


From: Karl Fogel
Subject: [Emacs-diffs] emacs/lisp bookmark.el ChangeLog
Date: Sun, 04 Oct 2009 23:48:37 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Karl Fogel <kfogel>     09/10/04 23:48:37

Modified files:
        lisp           : bookmark.el ChangeLog 

Log message:
        (bookmark-alist): Document the new `handler' element in the param alist.
        (bookmark-make-record-function): Adjust documentation for above.
        (Bug#4193)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/bookmark.el?cvsroot=emacs&r1=1.126&r2=1.127
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16352&r2=1.16353

Patches:
Index: bookmark.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/bookmark.el,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -b -r1.126 -r1.127
--- bookmark.el 2 Oct 2009 03:48:39 -0000       1.126
+++ bookmark.el 4 Oct 2009 23:48:33 -0000       1.127
@@ -270,7 +270,12 @@
   (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 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

Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16352
retrieving revision 1.16353
diff -u -b -r1.16352 -r1.16353
--- ChangeLog   4 Oct 2009 23:31:53 -0000       1.16352
+++ ChangeLog   4 Oct 2009 23:48:34 -0000       1.16353
@@ -1,5 +1,12 @@
 2009-10-04  Karl Fogel  <address@hidden>
 
+       * 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  <address@hidden>
+
        * info.el (Info-bookmark-make-record): Document this function.
        (Info-bookmark-jump): Document with a doc string, not just a comment.
        (Bug#4203)




reply via email to

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