emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master e040870 2/2: Fix compilation warning in bookmark.el


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master e040870 2/2: Fix compilation warning in bookmark.el
Date: Tue, 18 Jun 2019 06:21:40 -0400 (EDT)

branch: master
commit e040870e0b1fe56ac4f1f4984f3435d6b6eefb91
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Fix compilation warning in bookmark.el
    
    * 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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index a800525..8dc5fbd 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]