[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 250f09d2f3 1/6: Fix namespace problem in ede/custom.el
From: |
Stefan Kangas |
Subject: |
master 250f09d2f3 1/6: Fix namespace problem in ede/custom.el |
Date: |
Fri, 5 Aug 2022 07:17:45 -0400 (EDT) |
branch: master
commit 250f09d2f3927a650329dfb1165670f3d9b5bb5b
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Fix namespace problem in ede/custom.el
* lisp/cedet/ede/custom.el (ede-eieio-old-variables): Rename from
'ede-eieio-old-variables'. Retain old name as an obsolete alias.
---
lisp/cedet/ede/custom.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/lisp/cedet/ede/custom.el b/lisp/cedet/ede/custom.el
index 2d4f408e96..0854c8cc47 100644
--- a/lisp/cedet/ede/custom.el
+++ b/lisp/cedet/ede/custom.el
@@ -35,7 +35,9 @@
(require 'ede)
(eval-when-compile (require 'eieio-custom))
-(defvar eieio-ede-old-variables nil
+(define-obsolete-variable-alias 'ede-eieio-old-variables
+ 'eieio-ede-old-variables "29.1")
+(defvar ede-eieio-old-variables nil
"The old variables for a project.")
;;; Customization Commands
@@ -50,7 +52,7 @@
(let* ((ov (oref (ede-current-project) local-variables))
(cp (ede-current-project)))
(ede-customize cp)
- (setq-local eieio-ede-old-variables ov)))
+ (setq-local ede-eieio-old-variables ov)))
;;;###autoload
(defalias 'customize-project #'ede-customize-project)
@@ -178,9 +180,9 @@ OBJ is the target object to customize."
;; These hooks are used when finishing up a customization.
(cl-defmethod eieio-done-customizing ((proj ede-project))
"Call this when a user finishes customizing PROJ."
- (let ((ov eieio-ede-old-variables)
+ (let ((ov ede-eieio-old-variables)
(nv (oref proj local-variables)))
- (setq eieio-ede-old-variables nil)
+ (setq ede-eieio-old-variables nil)
(while ov
(if (not (assoc (car (car ov)) nv))
(save-excursion
- master updated (5426f67006 -> c388578fb1), Stefan Kangas, 2022/08/05
- master 250f09d2f3 1/6: Fix namespace problem in ede/custom.el,
Stefan Kangas <=
- master ab81080437 2/6: Make two perl-mode aliases obsolete, Stefan Kangas, 2022/08/05
- master 010e2e5e5e 5/6: Fix namespace problems in viper.el, Stefan Kangas, 2022/08/05
- master 0c106ce87c 3/6: Fix namespace problem in saveplace.el, Stefan Kangas, 2022/08/05
- master 8f438f224c 4/6: Fix namespace problems in xscheme.el, Stefan Kangas, 2022/08/05
- master c388578fb1 6/6: Rename object-sort-list to srecode-object-sort-list, Stefan Kangas, 2022/08/05