Function: bookmark--set-fringe-mark

bookmark--set-fringe-mark is a byte-compiled function defined in bookmark.el.gz.

Signature

(bookmark--set-fringe-mark)

Documentation

Apply a colorized overlay to the bookmarked location.

See user option bookmark-set-fringe-mark.

Source Code

;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
(defun bookmark--set-fringe-mark ()
  "Apply a colorized overlay to the bookmarked location.
See user option `bookmark-set-fringe-mark'."
  (let ((bm (make-overlay (point-at-bol) (1+ (point-at-bol)))))
    (overlay-put bm 'category 'bookmark)
    (overlay-put bm 'evaporate t)
    (overlay-put bm 'before-string
                 (propertize
                  "x" 'display
                  `(left-fringe bookmark-fringe-mark bookmark-face)))))