]> git.eshelyaron.com Git - emacs.git/commitdiff
(bookmark-jump-noselect): Move the deprecation notice into the doc
authorKarl Fogel <kfogel@red-bean.com>
Wed, 19 Nov 2008 08:03:04 +0000 (08:03 +0000)
committerKarl Fogel <kfogel@red-bean.com>
Wed, 19 Nov 2008 08:03:04 +0000 (08:03 +0000)
string, following up to 2008-10-29T17:42:49Z!cyd@stupidchicken.com.

lisp/ChangeLog
lisp/bookmark.el

index c619e861f1c295f8f8782acba926771138fa472c..39fc2682527db56232381f97e5c054cb6458b37c 100644 (file)
@@ -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 2008-10-29T17:42:49Z!cyd@stupidchicken.com.
+
 2008-11-19  Lute Kamstra  <lute@gnu.org>
 
        * autoinsert.el (auto-insert-alist): Don't use match data.
index 07ec40ec827095042200e1183014548b01d79d69..658097c8bf09663a3f88e3185d14a1ba82f3a880 100644 (file)
@@ -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))))