diff options
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | lisp/bookmark.el | 10 |
2 files changed, 8 insertions, 8 deletions
| @@ -1507,6 +1507,12 @@ the new variable 'buffer-auto-revert-by-notification' to a non-nil | |||
| 1507 | value. Auto Revert mode can use this information to avoid polling the | 1507 | value. Auto Revert mode can use this information to avoid polling the |
| 1508 | buffer periodically when 'auto-revert-avoid-polling' is non-nil. | 1508 | buffer periodically when 'auto-revert-avoid-polling' is non-nil. |
| 1509 | 1509 | ||
| 1510 | ** Bookmarks | ||
| 1511 | |||
| 1512 | +++ | ||
| 1513 | *** 'bookmark-file' is now an obsolete alias of | ||
| 1514 | 'bookmark-default-file'. | ||
| 1515 | |||
| 1510 | 1516 | ||
| 1511 | * New Modes and Packages in Emacs 27.1 | 1517 | * New Modes and Packages in Emacs 27.1 |
| 1512 | 1518 | ||
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 89f594c1866..d4fe2d9050c 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el | |||
| @@ -82,15 +82,9 @@ To specify the file in which to save them, modify the variable | |||
| 82 | "The `.emacs.bmk' file used to be called this name.") | 82 | "The `.emacs.bmk' file used to be called this name.") |
| 83 | 83 | ||
| 84 | 84 | ||
| 85 | ;; defvared to avoid a compilation warning: | 85 | (define-obsolete-variable-alias 'bookmark-file 'bookmark-default-file "27.1") |
| 86 | (defvar bookmark-file nil | ||
| 87 | "Old name for `bookmark-default-file'.") | ||
| 88 | |||
| 89 | (defcustom bookmark-default-file | 86 | (defcustom bookmark-default-file |
| 90 | (if bookmark-file | 87 | (locate-user-emacs-file "bookmarks" ".emacs.bmk") |
| 91 | ;; In case user set `bookmark-file' in her .emacs: | ||
| 92 | bookmark-file | ||
| 93 | (locate-user-emacs-file "bookmarks" ".emacs.bmk")) | ||
| 94 | "File in which to save bookmarks by default." | 88 | "File in which to save bookmarks by default." |
| 95 | :type 'file | 89 | :type 'file |
| 96 | :group 'bookmark) | 90 | :group 'bookmark) |