[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 72c53fc 4/8: Slight allout.el clean-up
From: |
Lars Ingebrigtsen |
Subject: |
master 72c53fc 4/8: Slight allout.el clean-up |
Date: |
Tue, 11 Aug 2020 15:04:20 -0400 (EDT) |
branch: master
commit 72c53fc3e1267bd740bb6a3785814eec8aa794c5
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Slight allout.el clean-up
* lisp/allout.el (allout-end-of-line, allout-mark-active-p): Make
allout-mark-active-p obsolete, and adjust callers.
---
lisp/allout.el | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/lisp/allout.el b/lisp/allout.el
index dedad45..170d868 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -2484,20 +2484,16 @@ Outermost is first."
(allout-back-to-current-heading)
(allout-end-of-current-line))
(t
- (if (not (allout-mark-active-p))
+ (if (not mark-active)
(push-mark))
(allout-end-of-entry))))))
+
;;;_ > allout-mark-active-p ()
(defun allout-mark-active-p ()
"True if the mark is currently or always active."
- ;; `(cond (boundp...))' (or `(if ...)') invokes special byte-compiler
- ;; provisions, at least in GNU Emacs to prevent warnings about lack of,
- ;; eg, region-active-p.
- (cond ((boundp 'mark-active)
- mark-active)
- ((fboundp 'region-active-p)
- (region-active-p))
- (t)))
+ (declare (obsolete nil "28.1"))
+ mark-active)
+
;;;_ > allout-next-heading ()
(defsubst allout-next-heading ()
"Move to the heading for the topic (possibly invisible) after this one.
- master updated (ccb5556 -> 4d00db5), Lars Ingebrigtsen, 2020/08/11
- master 86a326d 2/8: Slight gnus-util clean-up, Lars Ingebrigtsen, 2020/08/11
- master 672bfdb 1/8: Slight cleanup in calc-yank, Lars Ingebrigtsen, 2020/08/11
- master a19e9ab 3/8: Minor idlwave clean up, Lars Ingebrigtsen, 2020/08/11
- master 958fa07 6/8: Remove compat code from allout.el, Lars Ingebrigtsen, 2020/08/11
- master 72c53fc 4/8: Slight allout.el clean-up,
Lars Ingebrigtsen <=
- master 7bbfdce 5/8: Remove compat code in prolog.el, Lars Ingebrigtsen, 2020/08/11
- master 97c4d94 7/8: Remove compat code from esh-proc.el, Lars Ingebrigtsen, 2020/08/11
- master 4d00db5 8/8: Remove compat code from comint.el, Lars Ingebrigtsen, 2020/08/11
- Re: master updated (ccb5556 -> 4d00db5), Lars Ingebrigtsen, 2020/08/11