]> git.eshelyaron.com Git - emacs.git/commit
Make the bookmark fringe icon look like a bookmark
authorJim Porter <jporterbugs@gmail.com>
Tue, 2 Aug 2022 18:40:43 +0000 (11:40 -0700)
committerJim Porter <jporterbugs@gmail.com>
Tue, 16 Aug 2022 04:15:42 +0000 (21:15 -0700)
commitb87400c78b047d242ae188c46c621e0e8a8e69b2
treec5d7d9d984cf0a112d29c0c15968f455bd4da387
parentcf873c1a090b95746cf2f2a9a24a5e4bd7cc2cd6
Make the bookmark fringe icon look like a bookmark

* src/fringe.c (large_circle_bits): New variable.
(standard_bitmaps): Add large_circle_bits.

* lisp/fringe.el (fringe-bitmaps): Add 'large-circle'.
(fringe-custom-set-bitmap): New function.

* lisp/cus-edit.el (widget-fringe-bitmap-prompt-value-history): New
variable.
(fringe-bitmap): New widget.

* lisp/bookmark.el (bookmark-set-fringe-mark): Obsolete in favor of...
(bookmark-fringe-mark): ... this.
(bookmark-fringe-mark): Rename this fringe bitmap to...
(bookmark-mark): ... and change it to look like a bookmark.
(bookmark-face): Don't set the ':background' of the face.  Instead,
set ':distant-foreground'.
(bookmark--set-fringe-mark, bookmark--remove-fringe-mark)
(bookmark-store, bookmark--jump-via): Consult the
'bookmark-fringe-mark' option.

* doc/lispref/customize.texi (Simple Types): Document 'fringe-bitmap'
type.

* doc/lispref/display.texi (Fringe Bitmaps): Mention 'large-circle'.

* etc/NEWS: Announce this change (bug#56896).
doc/lispref/customize.texi
doc/lispref/display.texi
etc/NEWS
lisp/bookmark.el
lisp/cus-edit.el
lisp/fringe.el
src/fringe.c