diff options
| author | Karl Fogel | 2008-11-19 08:03:04 +0000 |
|---|---|---|
| committer | Karl Fogel | 2008-11-19 08:03:04 +0000 |
| commit | 8f7028a84cda66daeee45844f351c946dc050b29 (patch) | |
| tree | 4160b747f848f33b38060d81e1b826dc6cd4d193 | |
| parent | a3610f0c69af6a5740fec5010b17bc4cfc86f708 (diff) | |
| download | emacs-8f7028a84cda66daeee45844f351c946dc050b29.tar.gz emacs-8f7028a84cda66daeee45844f351c946dc050b29.zip | |
(bookmark-jump-noselect): Move the deprecation notice into the doc
string, following up to 2008-10-29T17:42:49Z!cyd@stupidchicken.com.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/bookmark.el | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c619e861f1c..39fc2682527 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-11-19 Karl Fogel <kfogel@red-bean.com> | ||
| 2 | |||
| 3 | * bookmark.el (bookmark-jump-noselect): Move the deprecation | ||
| 4 | notice into the doc string, following up to 2008-10-29T17:42:49Z!cyd@stupidchicken.com. | ||
| 5 | |||
| 1 | 2008-11-19 Lute Kamstra <lute@gnu.org> | 6 | 2008-11-19 Lute Kamstra <lute@gnu.org> |
| 2 | 7 | ||
| 3 | * autoinsert.el (auto-insert-alist): Don't use match data. | 8 | * 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." | |||
| 1004 | ;; Last possibility: try VC | 1004 | ;; Last possibility: try VC |
| 1005 | (if (vc-backend file) file)))) | 1005 | (if (vc-backend file) file)))) |
| 1006 | 1006 | ||
| 1007 | ;; This function is present for Emacs 22 compatibility only. | ||
| 1008 | (defun bookmark-jump-noselect (bookmark) | 1007 | (defun bookmark-jump-noselect (bookmark) |
| 1009 | "Return the location pointed to by the bookmark BOOKMARK. | 1008 | "Return the location pointed to by the bookmark BOOKMARK. |
| 1010 | The return value has the form (BUFFER . POINT)." | 1009 | The return value has the form (BUFFER . POINT). |
| 1010 | |||
| 1011 | Note: this function is deprecated and is present for Emacs 22 | ||
| 1012 | compatibility only. Use `bookmark-handle-bookmark' instead." | ||
| 1011 | (save-excursion | 1013 | (save-excursion |
| 1012 | (bookmark-handle-bookmark bookmark) | 1014 | (bookmark-handle-bookmark bookmark) |
| 1013 | (cons (current-buffer) (point)))) | 1015 | (cons (current-buffer) (point)))) |