branch: elpa/annotate commit 242104e55a741f8389fd338915ad64eb352d6d6e Author: cage <cage-invalid@invalid> Commit: cage <cage-invalid@invalid>
- changed functions name - annotate-calc-end-of-line -> annotate-end-of-line-pos; - annotate-calc-beginning-of-line -> annotate-beginning-of-line-pos. --- annotate.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/annotate.el b/annotate.el index 216b4d18e7..c5da94a324 100644 --- a/annotate.el +++ b/annotate.el @@ -183,12 +183,12 @@ major mode is a member of this list (space separated entries)." ,@body) (setf inhibit-modification-hooks t))) -(defun annotate-calc-end-of-line () +(defun annotate-end-of-line-pos () (save-excursion (end-of-line) (point))) -(defun annotate-calc-beginning-of-line () +(defun annotate-beginning-of-line-pos () (save-excursion (beginning-of-line) (point))) @@ -196,8 +196,8 @@ major mode is a member of this list (space separated entries)." (defun annotate-before-change-fn (a b) (annotate-with-inhibit-modification-hooks (save-excursion - (let* ((bol (annotate-calc-beginning-of-line)) - (eol (annotate-calc-end-of-line)) + (let* ((bol (annotate-beginning-of-line-pos)) + (eol (annotate-end-of-line-pos)) (ov (cl-remove-if-not 'annotationp (overlays-in bol eol)))) (dolist (overlay ov)