From: Karl Fogel Date: Wed, 19 Nov 2008 08:03:04 +0000 (+0000) Subject: (bookmark-jump-noselect): Move the deprecation notice into the doc X-Git-Tag: emacs-pretest-23.0.90~1694 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8f7028a84cda66daeee45844f351c946dc050b29;p=emacs.git (bookmark-jump-noselect): Move the deprecation notice into the doc string, following up to 2008-10-29T17:42:49Z!cyd@stupidchicken.com. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c619e861f1c..39fc2682527 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-11-19 Karl Fogel + + * bookmark.el (bookmark-jump-noselect): Move the deprecation + notice into the doc string, following up to 2008-10-29T17:42:49Z!cyd@stupidchicken.com. + 2008-11-19 Lute Kamstra * autoinsert.el (auto-insert-alist): Don't use match data. diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 07ec40ec827..658097c8bf0 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -1004,10 +1004,12 @@ be retrieved from a VC backend, else return nil." ;; Last possibility: try VC (if (vc-backend file) file)))) -;; This function is present for Emacs 22 compatibility only. (defun bookmark-jump-noselect (bookmark) "Return the location pointed to by the bookmark BOOKMARK. -The return value has the form (BUFFER . POINT)." +The return value has the form (BUFFER . POINT). + +Note: this function is deprecated and is present for Emacs 22 +compatibility only. Use `bookmark-handle-bookmark' instead." (save-excursion (bookmark-handle-bookmark bookmark) (cons (current-buffer) (point))))