2009-09-28 01:28:41 +00:00
|
|
|
;;; pulse.el --- Pulsing Overlays
|
|
|
|
|
2018-01-01 08:21:42 +00:00
|
|
|
;;; Copyright (C) 2007-2018 Free Software Foundation, Inc.
|
2009-09-28 01:28:41 +00:00
|
|
|
|
|
|
|
;; Author: Eric M. Ludlam <eric@siege-engine.com>
|
2010-09-21 22:11:23 +00:00
|
|
|
;; Version: 1.0
|
2009-09-28 01:28:41 +00:00
|
|
|
|
|
|
|
;; This file is part of GNU Emacs.
|
|
|
|
|
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
|
|
|
;; it under the terms of the GNU General Public License as published by
|
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
|
|
|
|
|
|
|
;; GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
2017-09-13 22:52:52 +00:00
|
|
|
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
|
2009-09-28 01:28:41 +00:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
;;
|
|
|
|
;; Manage temporary pulsing of faces and overlays.
|
|
|
|
;;
|
|
|
|
;; This is a temporal decoration technique where something is to be
|
|
|
|
;; highlighted briefly. This adds a gentle pulsing style to the text
|
|
|
|
;; decorated this way.
|
|
|
|
;;
|
|
|
|
;; The following are useful entry points:
|
|
|
|
;;
|
|
|
|
;; `pulse' - Cause `pulse-highlight-face' to shift toward background color.
|
|
|
|
;; Assumes you are using a version of Emacs that supports pulsing.
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
;; `pulse-momentary-highlight-one-line' - Pulse a single line at POINT.
|
|
|
|
;; `pulse-momentary-highlight-region' - Pulse a region.
|
2011-11-20 03:48:53 +00:00
|
|
|
;; `pulse-momentary-highlight-overlay' - Pulse an overlay.
|
2009-09-28 01:28:41 +00:00
|
|
|
;; These three functions will just blink the specified area if
|
|
|
|
;; the version of Emacs you are using doesn't support pulsing.
|
|
|
|
;;
|
|
|
|
;; `pulse-line-hook-function' - A simple function that can be used in a
|
|
|
|
;; hook that will pulse whatever line the cursor is on.
|
|
|
|
;;
|
|
|
|
;;; History:
|
|
|
|
;;
|
|
|
|
;; The original pulse code was written for semantic tag highlighting.
|
|
|
|
;; It has been extracted, and adapted for general purpose pulsing.
|
|
|
|
;;
|
|
|
|
;; Pulse is a part of CEDET. http://cedet.sf.net
|
|
|
|
|
|
|
|
(defun pulse-available-p ()
|
|
|
|
"Return non-nil if pulsing is available on the current frame."
|
|
|
|
(condition-case nil
|
|
|
|
(let ((v (color-values (face-background 'default))))
|
|
|
|
(numberp (car-safe v)))
|
|
|
|
(error nil)))
|
|
|
|
|
|
|
|
(defcustom pulse-flag (pulse-available-p)
|
2010-09-21 22:11:23 +00:00
|
|
|
"Whether to use pulsing for momentary highlighting.
|
|
|
|
Pulsing involves a bright highlight that slowly shifts to the
|
|
|
|
background color.
|
|
|
|
|
|
|
|
If the value is nil, highlight with an unchanging color until a
|
|
|
|
key is pressed.
|
|
|
|
If the value is `never', do no coloring at all.
|
2011-11-20 03:48:53 +00:00
|
|
|
Any other value means to do the default pulsing behavior.
|
2009-09-28 01:28:41 +00:00
|
|
|
|
|
|
|
If `pulse-flag' is non-nil, but `pulse-available-p' is nil, then
|
|
|
|
this flag is ignored."
|
|
|
|
:group 'pulse
|
|
|
|
:type 'boolean)
|
|
|
|
|
|
|
|
(defface pulse-highlight-start-face
|
|
|
|
'((((class color) (background dark))
|
|
|
|
(:background "#AAAA33"))
|
|
|
|
(((class color) (background light))
|
|
|
|
(:background "#FFFFAA")))
|
2012-04-09 13:05:48 +00:00
|
|
|
"Face used at beginning of a highlight."
|
2009-09-28 01:28:41 +00:00
|
|
|
:group 'pulse)
|
|
|
|
|
|
|
|
(defface pulse-highlight-face
|
|
|
|
'((((class color) (background dark))
|
|
|
|
(:background "#AAAA33"))
|
|
|
|
(((class color) (background light))
|
|
|
|
(:background "#FFFFAA")))
|
2012-04-09 13:05:48 +00:00
|
|
|
"Face used during a pulse for display. *DO NOT CUSTOMIZE*
|
2009-09-28 01:28:41 +00:00
|
|
|
Face used for temporary highlighting of tags for effect."
|
|
|
|
:group 'pulse)
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
;;
|
|
|
|
(defun pulse-int-to-hex (int &optional nb-digits)
|
|
|
|
"Convert integer argument INT to a #XXXXXXXXXXXX format hex string.
|
|
|
|
Each X in the output string is a hexadecimal digit.
|
|
|
|
NB-DIGITS is the number of hex digits. If INT is too large to be
|
|
|
|
represented with NB-DIGITS, then the result is truncated from the
|
|
|
|
left. So, for example, INT=256 and NB-DIGITS=2 returns \"00\", since
|
|
|
|
the hex equivalent of 256 decimal is 100, which is more than 2 digits.
|
|
|
|
|
|
|
|
This function was blindly copied from hexrgb.el by Drew Adams.
|
|
|
|
http://www.emacswiki.org/cgi-bin/wiki/hexrgb.el"
|
|
|
|
(setq nb-digits (or nb-digits 4))
|
|
|
|
(substring (format (concat "%0" (int-to-string nb-digits) "X") int) (- nb-digits)))
|
|
|
|
|
|
|
|
(defun pulse-color-values-to-hex (values)
|
|
|
|
"Convert list of rgb color VALUES to a hex string, #XXXXXXXXXXXX.
|
|
|
|
Each X in the string is a hexadecimal digit.
|
|
|
|
Input VALUES is as for the output of `x-color-values'.
|
|
|
|
|
|
|
|
This function was blindly copied from hexrgb.el by Drew Adams.
|
|
|
|
http://www.emacswiki.org/cgi-bin/wiki/hexrgb.el"
|
|
|
|
(concat "#"
|
|
|
|
(pulse-int-to-hex (nth 0 values) 4) ; red
|
|
|
|
(pulse-int-to-hex (nth 1 values) 4) ; green
|
|
|
|
(pulse-int-to-hex (nth 2 values) 4))) ; blue
|
|
|
|
|
|
|
|
(defcustom pulse-iterations 10
|
|
|
|
"Number of iterations in a pulse operation."
|
|
|
|
:group 'pulse
|
|
|
|
:type 'number)
|
|
|
|
(defcustom pulse-delay .03
|
2015-05-06 02:54:52 +00:00
|
|
|
"Delay between face lightening iterations."
|
2009-09-28 01:28:41 +00:00
|
|
|
:group 'pulse
|
|
|
|
:type 'number)
|
|
|
|
|
|
|
|
(defun pulse-lighten-highlight ()
|
|
|
|
"Lighten the face by 1/`pulse-iterations' toward the background color.
|
|
|
|
Return t if there is more drift to do, nil if completed."
|
|
|
|
(if (>= (get 'pulse-highlight-face :iteration) pulse-iterations)
|
|
|
|
nil
|
|
|
|
(let* ((frame (color-values (face-background 'default)))
|
2015-08-15 17:14:27 +00:00
|
|
|
(pulse-background (face-background
|
|
|
|
(get 'pulse-highlight-face
|
|
|
|
:startface)
|
|
|
|
nil t)));; can be nil
|
|
|
|
(when pulse-background
|
|
|
|
(let* ((start (color-values pulse-background))
|
|
|
|
(frac (list (/ (- (nth 0 frame) (nth 0 start)) pulse-iterations)
|
|
|
|
(/ (- (nth 1 frame) (nth 1 start)) pulse-iterations)
|
|
|
|
(/ (- (nth 2 frame) (nth 2 start)) pulse-iterations)))
|
|
|
|
(it (get 'pulse-highlight-face :iteration))
|
|
|
|
)
|
|
|
|
(set-face-background 'pulse-highlight-face
|
|
|
|
(pulse-color-values-to-hex
|
|
|
|
(list
|
|
|
|
(+ (nth 0 start) (* (nth 0 frac) it))
|
|
|
|
(+ (nth 1 start) (* (nth 1 frac) it))
|
|
|
|
(+ (nth 2 start) (* (nth 2 frac) it)))))
|
|
|
|
(put 'pulse-highlight-face :iteration (1+ it))
|
|
|
|
(if (>= (1+ it) pulse-iterations)
|
|
|
|
nil
|
|
|
|
t)))
|
|
|
|
)))
|
2009-09-28 01:28:41 +00:00
|
|
|
|
|
|
|
(defun pulse-reset-face (&optional face)
|
|
|
|
"Reset the pulse highlighting FACE."
|
|
|
|
(set-face-background 'pulse-highlight-face
|
|
|
|
(if face
|
2015-05-04 20:16:12 +00:00
|
|
|
(face-background face nil t)
|
2009-09-28 01:28:41 +00:00
|
|
|
(face-background 'pulse-highlight-start-face)
|
|
|
|
))
|
|
|
|
(put 'pulse-highlight-face :startface (or face
|
|
|
|
'pulse-highlight-start-face))
|
|
|
|
(put 'pulse-highlight-face :iteration 0))
|
|
|
|
|
|
|
|
;;; Convenience Functions
|
|
|
|
;;
|
|
|
|
(defvar pulse-momentary-overlay nil
|
|
|
|
"The current pulsing overlay.")
|
|
|
|
|
2015-05-06 12:21:32 +00:00
|
|
|
(defvar pulse-momentary-timer nil
|
|
|
|
"The current pulsing timer.")
|
2015-05-06 02:54:52 +00:00
|
|
|
|
2009-09-28 01:28:41 +00:00
|
|
|
(defun pulse-momentary-highlight-overlay (o &optional face)
|
|
|
|
"Pulse the overlay O, unhighlighting before next command.
|
2013-10-31 01:50:24 +00:00
|
|
|
Optional argument FACE specifies the face to do the highlighting."
|
2015-05-06 12:21:32 +00:00
|
|
|
;; We don't support simultaneous highlightings.
|
|
|
|
(pulse-momentary-unhighlight)
|
2009-09-28 01:28:41 +00:00
|
|
|
(overlay-put o 'original-face (overlay-get o 'face))
|
2015-05-06 12:21:32 +00:00
|
|
|
(setq pulse-momentary-overlay o)
|
2010-09-21 22:11:23 +00:00
|
|
|
(if (eq pulse-flag 'never)
|
|
|
|
nil
|
|
|
|
(if (or (not pulse-flag) (not (pulse-available-p)))
|
|
|
|
;; Provide a face... clear on next command
|
2009-09-28 01:28:41 +00:00
|
|
|
(progn
|
2010-09-21 22:11:23 +00:00
|
|
|
(overlay-put o 'face (or face 'pulse-highlight-start-face))
|
|
|
|
(add-hook 'pre-command-hook
|
|
|
|
'pulse-momentary-unhighlight))
|
2015-05-06 02:54:52 +00:00
|
|
|
;; Pulse it.
|
|
|
|
(overlay-put o 'face 'pulse-highlight-face)
|
|
|
|
;; The pulse function puts FACE onto 'pulse-highlight-face.
|
|
|
|
;; Thus above we put our face on the overlay, but pulse
|
|
|
|
;; with a reference face needed for the color.
|
|
|
|
(pulse-reset-face face)
|
2015-05-06 12:21:32 +00:00
|
|
|
(setq pulse-momentary-timer
|
|
|
|
(run-with-timer 0 pulse-delay #'pulse-tick
|
Prefer nil to (current-time) when either works
* doc/misc/gnus.texi (Category Syntax):
* lisp/allout-widgets.el (allout-widgets-post-command-business):
* lisp/cedet/ede/detect.el (ede-detect-qtest):
* lisp/cedet/pulse.el (pulse-momentary-highlight-overlay)
(pulse-tick):
* lisp/cedet/semantic.el (bovinate):
* lisp/cedet/semantic/analyze.el:
(semantic-analyze-current-symbol-default, semantic-adebug-analyze):
* lisp/cedet/semantic/analyze/refs.el (semantic-analyze-current-tag):
* lisp/cedet/semantic/lex.el (semantic-lex-test):
* lisp/cedet/semantic/symref/filter.el:
(semantic-symref-test-count-hits-in-tag):
* lisp/cedet/srecode/dictionary.el (srecode-adebug-dictionary):
* lisp/cedet/srecode/map.el (srecode-adebug-maps):
* lisp/desktop.el (desktop-create-buffer):
* lisp/emacs-lisp/benchmark.el (benchmark-elapse):
* lisp/emacs-lisp/elp.el (elp--make-wrapper):
* lisp/epa.el (epa--show-key):
* lisp/erc/erc.el (erc-lurker-cleanup, erc-lurker-p):
* lisp/gnus/gnus-agent.el (gnus-agent-fetch-articles)
(gnus-agent-expire-group-1, gnus-agent-store-article):
* lisp/gnus/gnus-art.el (article-lapsed-string):
* lisp/gnus/gnus-cloud.el (gnus-cloud-update-newsrc-data)
(gnus-cloud-collect-full-newsrc):
* lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
* lisp/gnus/gnus-html.el (gnus-html-cache-expired):
* lisp/gnus/gnus-score.el (gnus-score-load-file)
(gnus-decay-scores):
* lisp/gnus/nndiary.el (nndiary-expired-article-p):
* lisp/gnus/nnmail.el (nnmail-expired-article-p):
* lisp/gnus/nnmaildir.el (nnmaildir--scan):
* lisp/gnus/score-mode.el (gnus-score-edit-insert-date):
* lisp/image/gravatar.el (gravatar-cache-expired):
* lisp/net/newst-backend.el (newsticker--image-get)
(newsticker--cache-mark-expired):
* lisp/nxml/rng-maint.el (rng-time-function):
* lisp/org/org-agenda.el (org-agenda-to-appt):
* lisp/org/org-clock.el (org-clock-resolve-clock)
(org-clock-resolve, org-resolve-clocks-if-idle):
* lisp/org/org-colview.el (org-columns-edit-value, org-columns)
(org-columns-compute-all, org-agenda-columns):
* lisp/org/org-element.el (org-element--cache-interrupt-p)
(org-element--cache-sync):
* lisp/org/org-habit.el (org-habit-get-faces)
(org-habit-insert-consistency-graphs):
* lisp/org/org-indent.el (org-indent-add-properties):
* lisp/org/org-timer.el (org-timer-start)
(org-timer-pause-or-continue, org-timer-seconds)
(org-timer-show-remaining-time, org-timer-set-timer):
* lisp/org/org.el (org-babel-load-file, org-current-time)
(org-today, org-auto-repeat-maybe, org-read-date-analyze)
(org-small-year-to-year, org-goto-calendar):
* lisp/org/ox.el (org-export-insert-default-template):
* lisp/time.el (emacs-uptime):
* lisp/type-break.el (type-break-mode, type-break)
(type-break-time-warning-schedule, type-break-check):
* lisp/url/url-cache.el (url-cache-expired):
* lisp/url/url.el (url-retrieve-synchronously):
* test/lisp/char-fold-tests.el (char-fold--speed-test):
* test/manual/cedet/semantic-ia-utest.el:
(semantic-symref-test-count-hits-in-tag):
* test/manual/cedet/semantic-tests.el (semantic-idle-pnf-test)
(semantic-lex-test-full-depth):
Use nil instead of (current-time) where either will do, as nil is
a bit more efficient and should have less timing error.
2017-10-21 02:40:09 +00:00
|
|
|
(time-add nil
|
2015-05-06 12:21:32 +00:00
|
|
|
(* pulse-delay pulse-iterations)))))))
|
|
|
|
|
|
|
|
(defun pulse-tick (stop-time)
|
Prefer nil to (current-time) when either works
* doc/misc/gnus.texi (Category Syntax):
* lisp/allout-widgets.el (allout-widgets-post-command-business):
* lisp/cedet/ede/detect.el (ede-detect-qtest):
* lisp/cedet/pulse.el (pulse-momentary-highlight-overlay)
(pulse-tick):
* lisp/cedet/semantic.el (bovinate):
* lisp/cedet/semantic/analyze.el:
(semantic-analyze-current-symbol-default, semantic-adebug-analyze):
* lisp/cedet/semantic/analyze/refs.el (semantic-analyze-current-tag):
* lisp/cedet/semantic/lex.el (semantic-lex-test):
* lisp/cedet/semantic/symref/filter.el:
(semantic-symref-test-count-hits-in-tag):
* lisp/cedet/srecode/dictionary.el (srecode-adebug-dictionary):
* lisp/cedet/srecode/map.el (srecode-adebug-maps):
* lisp/desktop.el (desktop-create-buffer):
* lisp/emacs-lisp/benchmark.el (benchmark-elapse):
* lisp/emacs-lisp/elp.el (elp--make-wrapper):
* lisp/epa.el (epa--show-key):
* lisp/erc/erc.el (erc-lurker-cleanup, erc-lurker-p):
* lisp/gnus/gnus-agent.el (gnus-agent-fetch-articles)
(gnus-agent-expire-group-1, gnus-agent-store-article):
* lisp/gnus/gnus-art.el (article-lapsed-string):
* lisp/gnus/gnus-cloud.el (gnus-cloud-update-newsrc-data)
(gnus-cloud-collect-full-newsrc):
* lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
* lisp/gnus/gnus-html.el (gnus-html-cache-expired):
* lisp/gnus/gnus-score.el (gnus-score-load-file)
(gnus-decay-scores):
* lisp/gnus/nndiary.el (nndiary-expired-article-p):
* lisp/gnus/nnmail.el (nnmail-expired-article-p):
* lisp/gnus/nnmaildir.el (nnmaildir--scan):
* lisp/gnus/score-mode.el (gnus-score-edit-insert-date):
* lisp/image/gravatar.el (gravatar-cache-expired):
* lisp/net/newst-backend.el (newsticker--image-get)
(newsticker--cache-mark-expired):
* lisp/nxml/rng-maint.el (rng-time-function):
* lisp/org/org-agenda.el (org-agenda-to-appt):
* lisp/org/org-clock.el (org-clock-resolve-clock)
(org-clock-resolve, org-resolve-clocks-if-idle):
* lisp/org/org-colview.el (org-columns-edit-value, org-columns)
(org-columns-compute-all, org-agenda-columns):
* lisp/org/org-element.el (org-element--cache-interrupt-p)
(org-element--cache-sync):
* lisp/org/org-habit.el (org-habit-get-faces)
(org-habit-insert-consistency-graphs):
* lisp/org/org-indent.el (org-indent-add-properties):
* lisp/org/org-timer.el (org-timer-start)
(org-timer-pause-or-continue, org-timer-seconds)
(org-timer-show-remaining-time, org-timer-set-timer):
* lisp/org/org.el (org-babel-load-file, org-current-time)
(org-today, org-auto-repeat-maybe, org-read-date-analyze)
(org-small-year-to-year, org-goto-calendar):
* lisp/org/ox.el (org-export-insert-default-template):
* lisp/time.el (emacs-uptime):
* lisp/type-break.el (type-break-mode, type-break)
(type-break-time-warning-schedule, type-break-check):
* lisp/url/url-cache.el (url-cache-expired):
* lisp/url/url.el (url-retrieve-synchronously):
* test/lisp/char-fold-tests.el (char-fold--speed-test):
* test/manual/cedet/semantic-ia-utest.el:
(semantic-symref-test-count-hits-in-tag):
* test/manual/cedet/semantic-tests.el (semantic-idle-pnf-test)
(semantic-lex-test-full-depth):
Use nil instead of (current-time) where either will do, as nil is
a bit more efficient and should have less timing error.
2017-10-21 02:40:09 +00:00
|
|
|
(if (time-less-p nil stop-time)
|
2015-05-06 02:54:52 +00:00
|
|
|
(pulse-lighten-highlight)
|
2015-05-06 12:21:32 +00:00
|
|
|
(pulse-momentary-unhighlight)))
|
2009-09-28 01:28:41 +00:00
|
|
|
|
|
|
|
(defun pulse-momentary-unhighlight ()
|
|
|
|
"Unhighlight a line recently highlighted."
|
|
|
|
(when pulse-momentary-overlay
|
|
|
|
;; clear the starting face
|
2015-05-06 12:21:32 +00:00
|
|
|
(let ((ol pulse-momentary-overlay))
|
|
|
|
(overlay-put ol 'face (overlay-get ol 'original-face))
|
|
|
|
(overlay-put ol 'original-face nil)
|
|
|
|
;; Clear the overlay if it needs deleting.
|
|
|
|
(when (overlay-get ol 'pulse-delete) (delete-overlay ol)))
|
2009-09-28 01:28:41 +00:00
|
|
|
|
|
|
|
;; Clear the variable.
|
2015-05-06 12:21:32 +00:00
|
|
|
(setq pulse-momentary-overlay nil)
|
2009-09-28 01:28:41 +00:00
|
|
|
|
2015-05-06 12:21:32 +00:00
|
|
|
;; Reset the pulsing face.
|
2015-05-06 20:15:45 +00:00
|
|
|
(pulse-reset-face))
|
2009-09-28 01:28:41 +00:00
|
|
|
|
2015-05-06 20:15:45 +00:00
|
|
|
;; Cancel the timer.
|
|
|
|
(when pulse-momentary-timer
|
2015-05-06 12:21:32 +00:00
|
|
|
(cancel-timer pulse-momentary-timer))
|
2015-05-06 02:54:52 +00:00
|
|
|
|
2009-09-28 01:28:41 +00:00
|
|
|
;; Remove this hook.
|
|
|
|
(remove-hook 'pre-command-hook 'pulse-momentary-unhighlight))
|
|
|
|
|
2015-05-04 15:09:33 +00:00
|
|
|
;;;###autoload
|
2009-09-28 01:28:41 +00:00
|
|
|
(defun pulse-momentary-highlight-one-line (point &optional face)
|
|
|
|
"Highlight the line around POINT, unhighlighting before next command.
|
|
|
|
Optional argument FACE specifies the face to do the highlighting."
|
2014-12-08 23:57:12 +00:00
|
|
|
(save-excursion
|
|
|
|
(goto-char point)
|
|
|
|
(let ((start (point-at-bol))
|
|
|
|
(end (save-excursion
|
|
|
|
(end-of-line)
|
|
|
|
(when (not (eobp))
|
|
|
|
(forward-char 1))
|
|
|
|
(point))))
|
|
|
|
(pulse-momentary-highlight-region start end face))))
|
2009-09-28 01:28:41 +00:00
|
|
|
|
2015-05-04 20:16:12 +00:00
|
|
|
;;;###autoload
|
2009-09-28 01:28:41 +00:00
|
|
|
(defun pulse-momentary-highlight-region (start end &optional face)
|
|
|
|
"Highlight between START and END, unhighlighting before next command.
|
2013-10-31 01:50:24 +00:00
|
|
|
Optional argument FACE specifies the face to do the highlighting."
|
2009-09-28 01:28:41 +00:00
|
|
|
(let ((o (make-overlay start end)))
|
|
|
|
;; Mark it for deletion
|
|
|
|
(overlay-put o 'pulse-delete t)
|
|
|
|
(pulse-momentary-highlight-overlay o face)))
|
|
|
|
|
|
|
|
;;; Random integration with other tools
|
|
|
|
|
|
|
|
(defvar pulse-command-advice-flag nil)
|
|
|
|
|
|
|
|
(defun pulse-line-hook-function ()
|
|
|
|
"Function used in hooks to pulse the current line.
|
|
|
|
Only pulses the line if `pulse-command-advice-flag' is non-nil."
|
|
|
|
(when pulse-command-advice-flag
|
|
|
|
(pulse-momentary-highlight-one-line (point))))
|
|
|
|
|
|
|
|
(provide 'pulse)
|
|
|
|
|
|
|
|
;;; pulse.el ends here
|