[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mmm-mode 244f8c4794 1/2: Remove mmm-add-find-file-hook[
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mmm-mode 244f8c4794 1/2: Remove mmm-add-find-file-hook[s] |
Date: |
Sat, 16 Sep 2023 21:58:19 -0400 (EDT) |
branch: externals/mmm-mode
commit 244f8c4794f20a6be5ebe1e405400a9c35ea6d2f
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
Remove mmm-add-find-file-hook[s]
Resolves #137
---
NEWS | 5 +++++
mmm-auto.el | 9 ---------
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/NEWS b/NEWS
index 827337d7f4..d884530814 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,11 @@ See the file COPYING for copying conditions.
Please submit bug reports at https://github.com/dgutov/mmm-mode/issues
+* Changes in MMM Mode 0.5.10
+
+Functions mmm-add-find-file-hooks and mmm-add-find-file-hook have been
+removed (GH#137).
+
* Changes in MMM Mode 0.5.9
Made the tests work in batch mode.
diff --git a/mmm-auto.el b/mmm-auto.el
index b5fd074a46..a5cb728d85 100644
--- a/mmm-auto.el
+++ b/mmm-auto.el
@@ -171,15 +171,6 @@ to apply, or always if `mmm-global-mode' is t."
(add-hook 'mmm-major-mode-hook #'mmm-mode-on-maybe)
-(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).
-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))
-
;;}}}
(provide 'mmm-auto)