]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix compilation warning in bookmark.el
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Jun 2019 10:21:27 +0000 (12:21 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Jun 2019 10:21:27 +0000 (12:21 +0200)
* lisp/bookmark.el (bookmarks-already-loaded): Move obsolete alias
definition to before its referent.

In toplevel form:
bookmark.el:279:1:Warning: Alias for `bookmark-bookmarks-timestamp' should be
    declared before its referent

lisp/bookmark.el

index a800525b49d657758102510bd810833c4788a887..8dc5fbdf814d38cdef71c10e023c0a274c52365a 100644 (file)
@@ -272,12 +272,12 @@ a bookmark as its single argument.
 A function `bookmark-make-record-function' may define additional entries
 in PARAM-LIST that can be used by HANDLER.")
 
+(define-obsolete-variable-alias 'bookmarks-already-loaded
+  'bookmark-bookmarks-timestamp "27.1")
 (defvar bookmark-bookmarks-timestamp nil
   "Timestamp of current default bookmark file.
 The value is actually (FILE . MODTIME), where FILE is a bookmark file that
 defaults to `bookmark-default-file' and MODTIME is its modification time.")
-(define-obsolete-variable-alias 'bookmarks-already-loaded
-  'bookmark-bookmarks-timestamp "27.1")
 
 (defvar bookmark-file-coding-system nil
   "The coding-system of the last loaded or saved bookmark file.")