changeset 99725:d067d683a1bc

(bookmark-jump-noselect): Move the deprecation notice into the doc string, following up to revision 1.117.
author Karl Fogel <kfogel@red-bean.com>
date Wed, 19 Nov 2008 08:03:04 +0000
parents bfbf9ff7903f
children 38b176122f90
files lisp/ChangeLog lisp/bookmark.el
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Nov 19 05:51:30 2008 +0000
+++ b/lisp/ChangeLog	Wed Nov 19 08:03:04 2008 +0000
@@ -1,3 +1,8 @@
+2008-11-19  Karl Fogel  <kfogel@red-bean.com>
+
+	* bookmark.el (bookmark-jump-noselect): Move the deprecation
+	notice into the doc string, following up to revision 1.117.
+
 2008-11-19  Lute Kamstra  <lute@gnu.org>
 
 	* autoinsert.el (auto-insert-alist): Don't use match data.
--- a/lisp/bookmark.el	Wed Nov 19 05:51:30 2008 +0000
+++ b/lisp/bookmark.el	Wed Nov 19 08:03:04 2008 +0000
@@ -1004,10 +1004,12 @@
      ;; 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))))