branch: master
commit d58aacc11d6b11e00b9878a0cc4a033928b3d492
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Fix mmm-add-to-major-mode-preferences docstring
https://sourceforge.net/tracker/?func=detail&aid=904833&group_id=8658&atid=108658
---
mmm-vars.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/mmm-vars.el b/mmm-vars.el
index ca30224..9f7bf45 100644
--- a/mmm-vars.el
+++ b/mmm-vars.el
@@ -553,12 +553,12 @@ which will always be available."
(fboundp))))))
(defun mmm-add-to-major-mode-preferences (language mode &optional default)
- "Set the preferred major mode for LANGUAGE to MODE.
-This sets the value of `mmm-major-mode-preferences'. If DEFAULT is
-nil or unsupplied, MODE is added at the front of the list of modes for
-LANGUAGE. If DEFAULT is non-nil, then it is added at the end. This
-may be used by packages to ensure that some mode is present, but not
-override any user-specified mode."
+ "Add major mode MODE as acceptable for LANGUAGE.
+This sets the value of `mmm-major-mode-preferences'. If DEFAULT
+is non-nil, MODE is added at the front of the list of modes for
+LANGUAGE. Otherwise, it is added at the end. This may be used by
+packages to ensure that some mode is present, but not override
+any user-specified mode."
(let ((pair (assq language mmm-major-mode-preferences)))
(if pair
;; Existing mode preferences