changeset 99766:f1062fe6487f

* bookmark.el (bookmark-jump-noselect): Add obsolescence declaration and remove redundant info from docstring.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 21 Nov 2008 10:32:39 +0000
parents 389ff950d871
children 0d5b71c55b3c
files lisp/ChangeLog lisp/bookmark.el
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Nov 21 10:20:14 2008 +0000
+++ b/lisp/ChangeLog	Fri Nov 21 10:32:39 2008 +0000
@@ -1,5 +1,8 @@
 2008-11-21  Juanma Barranquero  <lekktu@gmail.com>
 
+	* bookmark.el (bookmark-jump-noselect): Add obsolescence declaration
+	and remove redundant info from docstring.
+
 	* isearch.el (isearch-search-string): Doc fix.
 	(search-exit-option, search-slow-window-lines, search-slow-speed)
 	(search-upper-case, search-nonincremental-instead)
--- a/lisp/bookmark.el	Fri Nov 21 10:20:14 2008 +0000
+++ b/lisp/bookmark.el	Fri Nov 21 10:32:39 2008 +0000
@@ -750,7 +750,7 @@
                 nil nil default))))
       (and (string-equal str "") (setq str default))
       (bookmark-store str (cdr record) parg)
-      
+
       ;; Ask for an annotation buffer for this bookmark
       (if bookmark-use-annotations
           (bookmark-edit-annotation str)
@@ -947,7 +947,7 @@
       ;; if there is an annotation for this bookmark,
       ;; show it in a buffer.
       (bookmark-show-annotation bookmark)))
-  
+
 
 ;;;###autoload
 (defun bookmark-jump (bookmark)
@@ -1009,11 +1009,13 @@
 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."
+compatibility only."
   (save-excursion
     (bookmark-handle-bookmark bookmark)
     (cons (current-buffer) (point))))
 
+(make-obsolete 'bookmark-jump-noselect 'bookmark-handle-bookmark "23.1")
+
 (defun bookmark-handle-bookmark (bookmark)
   "Call BOOKMARK's handler or `bookmark-default-handler' if it has none.
 Changes current buffer and point and returns nil, or signals a `file-error'.