[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master af6ea55 07/11: Remove some compat code from bubbles.el
From: |
Lars Ingebrigtsen |
Subject: |
master af6ea55 07/11: Remove some compat code from bubbles.el |
Date: |
Wed, 12 Aug 2020 12:59:54 -0400 (EDT) |
branch: master
commit af6ea5578abf01d97abd86735bbddd08251ec11e
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Remove some compat code from bubbles.el
* lisp/play/bubbles.el (bubbles--remove-overlays): Make into an
obsolete alias.
(bubbles--initialize, bubbles--show-images): Adjust callers.
---
lisp/play/bubbles.el | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/lisp/play/bubbles.el b/lisp/play/bubbles.el
index e598257..903c068 100644
--- a/lisp/play/bubbles.el
+++ b/lisp/play/bubbles.el
@@ -976,16 +976,14 @@ Set `bubbles--col-offset' and `bubbles--row-offset'."
(* image-vert-size (bubbles--grid-height)))
2)))))
-(defun bubbles--remove-overlays ()
- "Remove all overlays."
- (if (fboundp 'remove-overlays)
- (remove-overlays)))
+(define-obsolete-function-alias 'bubbles--remove-overlays
+ 'remove-overlays "28.1")
(defun bubbles--initialize ()
"Initialize Bubbles game."
(bubbles--initialize-faces)
(bubbles--initialize-images)
- (bubbles--remove-overlays)
+ (remove-overlays)
(switch-to-buffer (get-buffer-create "*bubbles*"))
(bubbles--compute-offsets)
@@ -1409,7 +1407,7 @@ Return t if new char is non-empty."
(defun bubbles--show-images ()
"Update images in the bubbles buffer."
- (bubbles--remove-overlays)
+ (remove-overlays)
(if (and (display-images-p)
bubbles--images-ok
(not (eq bubbles-graphics-theme 'ascii)))
- master updated (6cddb73 -> 56a44a8), Lars Ingebrigtsen, 2020/08/12
- master 51ea541 01/11: Remove some compat code from ediff-init.el, Lars Ingebrigtsen, 2020/08/12
- master af6ea55 07/11: Remove some compat code from bubbles.el,
Lars Ingebrigtsen <=
- master 74909e1 06/11: Fix a check for whether Emacs can play sounds in eudc-bob, Lars Ingebrigtsen, 2020/08/12
- master a459e52 02/11: Remove some compat code from idlwave.el, Lars Ingebrigtsen, 2020/08/12
- master 77907b2 03/11: Remove some compat code from prolog.el, Lars Ingebrigtsen, 2020/08/12
- master e97d3e1 08/11: Remove some compat code from epa.el, Lars Ingebrigtsen, 2020/08/12
- master 9a929de 10/11: Remove some compat code from viper*.el, Lars Ingebrigtsen, 2020/08/12
- master 56a44a8 11/11: Remove some compat code from viper-cmd.el, Lars Ingebrigtsen, 2020/08/12
- master 6ac22bc 05/11: Remove some compat code from allout.el, Lars Ingebrigtsen, 2020/08/12
- master 67bd8a4 04/11: Remove some compat code from allout*.el, Lars Ingebrigtsen, 2020/08/12
- master 1dfb170 09/11: Mark some unused defaliases in semantic/fw.el obsolete, Lars Ingebrigtsen, 2020/08/12