summaryrefslogtreecommitdiff
path: root/lisp/bookmark.el
diff options
context:
space:
mode:
authorKarl Fogel <kfogel@red-bean.com>2008-11-19 08:03:04 +0000
committerKarl Fogel <kfogel@red-bean.com>2008-11-19 08:03:04 +0000
commit8f7028a84cda66daeee45844f351c946dc050b29 (patch)
tree4160b747f848f33b38060d81e1b826dc6cd4d193 /lisp/bookmark.el
parenta3610f0c69af6a5740fec5010b17bc4cfc86f708 (diff)
downloademacs-8f7028a84cda66daeee45844f351c946dc050b29.tar.gz
(bookmark-jump-noselect): Move the deprecation notice into the doc
string, following up to 2008-10-29T17:42:49Z!cyd@stupidchicken.com.
Diffstat (limited to 'lisp/bookmark.el')
-rw-r--r--lisp/bookmark.el6
1 files changed, 4 insertions, 2 deletions
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))))