[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 5134a22 21/50: minor change (rename two functions)
From: |
Michael Heerdegen |
Subject: |
[elpa] master 5134a22 21/50: minor change (rename two functions) |
Date: |
Mon, 09 Nov 2015 03:35:46 +0000 |
branch: master
commit 5134a22b8e2f0587c6008297a35fb6ac516d1ffc
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>
minor change (rename two functions)
---
on-screen.el | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/on-screen.el b/on-screen.el
index 3760da2..e094eda 100644
--- a/on-screen.el
+++ b/on-screen.el
@@ -443,7 +443,7 @@ only the windows of the selected frame."
(mapcar (lambda (frame) (window-list frame))
(if all-frames (frame-list) (list (selected-frame))))))
-(defun on-screen-record-ranges ()
+(defun on-screen-pre-command ()
"Remember visible buffer parts in the selected frame."
;; This normally goes to `pre-command-hook'.
(condition-case nil
@@ -563,7 +563,7 @@ had changed."
(when (timerp timer) (cancel-timer timer))))
(setq on-screen-data (delq entry on-screen-data)))))
-(defun on-screen-reset (&rest _)
+(defun on-screen-after-change (&rest _)
"Reset highligting for current buffer after it was changed.
This has to be done for all its windows. Goes to
`after-change-functions'."
@@ -589,9 +589,9 @@ highlightings and clear all associated data."
(defun on-screen-initialize ()
"Prepare for using on-screen."
- (add-hook 'pre-command-hook #'on-screen-record-ranges)
+ (add-hook 'pre-command-hook #'on-screen-pre-command)
(add-hook 'window-scroll-functions #'on-screen-after-scroll)
- (add-hook 'after-change-functions #'on-screen-reset)
+ (add-hook 'after-change-functions #'on-screen-after-change)
(add-hook 'window-configuration-change-hook #'on-screen-after-wconf-change)
(setq on-screen-initialized-p t))
- [elpa] master a898176 14/50: defface on-screen-shadow: make slightly more colorful, (continued)
- [elpa] master a898176 14/50: defface on-screen-shadow: make slightly more colorful, Michael Heerdegen, 2015/11/08
- [elpa] master cdf787a 08/50: removed optional arg of on-screen-record-ranges (not used), Michael Heerdegen, 2015/11/08
- [elpa] master be07506 01/50: Initial commit, Michael Heerdegen, 2015/11/08
- [elpa] master 6aaa211 11/50: remove visual line stuff, Michael Heerdegen, 2015/11/08
- [elpa] master c083518 09/50: added homepage to header, Michael Heerdegen, 2015/11/08
- [elpa] master dd6de11 15/50: minor change, Michael Heerdegen, 2015/11/08
- [elpa] master 38b4a11 19/50: add missing autoload for global-on-screen-mode alias, Michael Heerdegen, 2015/11/08
- [elpa] master 4f4c320 20/50: Update copyright, Michael Heerdegen, 2015/11/08
- [elpa] master 350a979 23/50: add workaround for bug#16796, Michael Heerdegen, 2015/11/08
- [elpa] master 03ddd52 16/50: after-scroll: don't remove highlighting when called in succession, Michael Heerdegen, 2015/11/08
- [elpa] master 5134a22 21/50: minor change (rename two functions),
Michael Heerdegen <=
- [elpa] master 0ddc794 22/50: always remove highlighting when a command caused multiple changes, Michael Heerdegen, 2015/11/08
- [elpa] master 6a73928 18/50: fix invisible fringe markers positioned in invisible lines (e.g. org), Michael Heerdegen, 2015/11/08
- [elpa] master 55c8f4b 27/50: small changes in header, Michael Heerdegen, 2015/11/08
- [elpa] master f4b1ef2 17/50: new option: on-screen-remove-when-edit, decrease overlay priority, Michael Heerdegen, 2015/11/08
- [elpa] master a7630ca 24/50: convert to cl-lib, Michael Heerdegen, 2015/11/08
- [elpa] master 8256496 25/50: use a more modest gray for on-screen-narrow-line face, Michael Heerdegen, 2015/11/08
- [elpa] master b1c1f7e 32/50: new option: on-screen-drawing-threshold, Michael Heerdegen, 2015/11/08
- [elpa] master 259440a 26/50: add Package-Requires header, Michael Heerdegen, 2015/11/08
- [elpa] master 098325c 29/50: set default value of on-screen-treat-cut-lines to t, Michael Heerdegen, 2015/11/08
- [elpa] master 23cf5db 30/50: use lexical binding, Michael Heerdegen, 2015/11/08