[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mmm-mode d5af05a4a9 09/14: Mark `mmm-add-find-file-hook
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mmm-mode d5af05a4a9 09/14: Mark `mmm-add-find-file-hook' as obsolete |
Date: |
Mon, 10 Oct 2022 18:57:51 -0400 (EDT) |
branch: externals/mmm-mode
commit d5af05a4a95b4e29663b0d7815a79d3ae1793453
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@gmail.com>
Mark `mmm-add-find-file-hook' as obsolete
Both mmm-add-find-file-hook and its alias mmm-add-find-file-hooks are
deprecated since mmm-mode 0.3.8. Mark them both as obsolete.
Also escape the single quote in the docstring.
---
mmm-auto.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/mmm-auto.el b/mmm-auto.el
index 30d46b726d..cee17e9a9b 100644
--- a/mmm-auto.el
+++ b/mmm-auto.el
@@ -164,10 +164,12 @@ to apply, or always if `mmm-global-mode' is t."
(add-hook 'mmm-major-mode-hook #'mmm-mode-on-maybe)
-(defalias 'mmm-add-find-file-hooks #'mmm-add-find-file-hook)
+(define-obsolete-function-alias 'mmm-add-find-file-hooks
'mmm-add-find-file-hook "0.3.8"
+ "Both `mmm-add-find-file-hooks' and `mmm-add-find-file-hook' are
deprecated.")
(defun mmm-add-find-file-hook ()
- "Equivalent to (setq mmm-global-mode 'maybe).
+ "Equivalent to \(setq mmm-global-mode \\='maybe).
This function is deprecated and may be removed in future."
+ (declare (obsolete nil "0.3.8"))
(message "Warning: `mmm-add-find-file-hook' is deprecated.")
(setq mmm-global-mode 'maybe))
- [elpa] externals/mmm-mode 869d5ef628 08/14: Correct the docstring of mmm-classes-alist, (continued)
- [elpa] externals/mmm-mode 869d5ef628 08/14: Correct the docstring of mmm-classes-alist, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode 7401e1a746 11/14: Replace the distribution hack in Makefile.am, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode 8d3a7ecd75 03/14: Quote all AC_DEFUN names in acinclude.m4, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode f5974d4894 06/14: Remove emacs/xemacs handling from configure.ac, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode 2a36ac3557 05/14: Update the missing script to support --is-lightweight, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode 3269d940b9 14/14: Merge pull request #126 from snogge/build-cleanup, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode 8cc02668b3 04/14: Rename mmm.texinfo -> mmm.texi as recommended, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode 1b1b2f5f47 10/14: Correct the docstring of mmm-clear-all-regions, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode 27fff80e0e 12/14: Remove elisp-comp, obsolete since Automake 1.13, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode 0181c54d12 01/14: Use correct initialization of autoconf and automake, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode d5af05a4a9 09/14: Mark `mmm-add-find-file-hook' as obsolete,
ELPA Syncer <=
- [elpa] externals/mmm-mode eb0ca09da2 07/14: Use `eval' to enable minor modes in mmm.texi, ELPA Syncer, 2022/10/10
- [elpa] externals/mmm-mode 6fa96364e9 13/14: Remove mkinstalldirs, obsolete for a long time, ELPA Syncer, 2022/10/10