Codebase list beacon / upstream/latest
New upstream version 1.3.3 Lev Lamberov 6 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
44 ;; Author: Artur Malabarba <emacs@endlessparentheses.com>
55 ;; URL: https://github.com/Malabarba/beacon
66 ;; Keywords: convenience
7 ;; Version: 1.3.2
7 ;; Version: 1.3.3
88 ;; Package-Requires: ((seq "2.14"))
99
1010 ;; This program is free software; you can redistribute it and/or modify
156156
157157 (defcustom beacon-dont-blink-major-modes '(t magit-status-mode magit-popup-mode
158158 inf-ruby-mode
159 mu4e-headers-mode
159160 gnus-summary-mode gnus-group-mode)
160161 "A list of major-modes where the beacon won't blink.
161162 Whenever the current buffer satisfies `derived-mode-p' for
236237 COLORS applied to each one."
237238 ;; The after-string must not be longer than the remaining columns
238239 ;; from point to right window-end else it will be wrapped around.
239 (let ((colors (seq-take colors (- (window-width) (current-column)))))
240 (let ((colors (seq-take colors (- (window-width) (current-column) 1))))
240241 (beacon--ov-put-after-string (beacon--make-overlay 0) colors)))
241242
242243 (defun beacon--ov-at-point ()