From: Lars Ingebrigtsen Date: Thu, 17 Feb 2022 11:57:15 +0000 (+0100) Subject: Add a NEWS entry for the bookmark changes (bug#54030) X-Git-Tag: emacs-29.0.90~2270 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c218660d66394ba8306d21dcc182b82b15ba42de;p=emacs.git Add a NEWS entry for the bookmark changes (bug#54030) * lisp/bookmark.el (bookmark-bmenu-mode): Make the type shorter. --- 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)