From c218660d66394ba8306d21dcc182b82b15ba42de Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 17 Feb 2022 12:57:15 +0100 Subject: [PATCH] Add a NEWS entry for the bookmark changes (bug#54030) * lisp/bookmark.el (bookmark-bmenu-mode): Make the type shorter. --- etc/NEWS | 5 +++++ lisp/bookmark.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 0bc0b120a97..706c88d67b8 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -991,6 +991,11 @@ support for pipelines which will move a lot of data. See section ** Miscellaneous +--- +*** 'list-bookmarks' now includes a type column. +Types are registered via a 'bookmark-handler-type' symbol property on +the jumping function. + --- *** New minor mode 'elide-head-mode'. Enabling this minor mode turns on hiding header material, like diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 61c532c1f34..27517318171 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -1903,7 +1903,7 @@ Bookmark names preceded by a \"*\" have annotations. (setq tabulated-list-format `[("" 1) ;; Space to add "*" for bookmark with annotation ("Bookmark" ,bookmark-bmenu-file-column bookmark-bmenu--name-predicate) - ("Type" 15 bookmark-bmenu--type-predicate) + ("Type" 8 bookmark-bmenu--type-predicate) ,@(if bookmark-bmenu-toggle-filenames '(("File" 0 bookmark-bmenu--file-predicate)))]) (setq tabulated-list-padding bookmark-bmenu-marks-width) -- 2.39.5