[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master d58aacc 365/433: Fix mmm-add-to-major-mode-preferences doc
From: |
Dmitry Gutov |
Subject: |
[elpa] master d58aacc 365/433: Fix mmm-add-to-major-mode-preferences docstring |
Date: |
Thu, 15 Mar 2018 19:44:37 -0400 (EDT) |
branch: master
commit d58aacc11d6b11e00b9878a0cc4a033928b3d492
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
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
- [elpa] master ce3cb79 367/433: * mmm-update-mode-info: bind `buffer-file-truename' to nil, (continued)
- [elpa] master ce3cb79 367/433: * mmm-update-mode-info: bind `buffer-file-truename' to nil, Dmitry Gutov, 2018/03/15
- [elpa] master 37f6dea 396/433: mmm-indent-line: Use primary mode if submode ends right here, Dmitry Gutov, 2018/03/15
- [elpa] master 1b9406d 361/433: Released 0.5.0, Dmitry Gutov, 2018/03/15
- [elpa] master f9e4dd5 376/433: Fix #26, Dmitry Gutov, 2018/03/15
- [elpa] master f5ea03a 399/433: Don't try to enable jit-lock in temp buffers, Dmitry Gutov, 2018/03/15
- [elpa] master 18bb050 392/433: Released 0.5.2, Dmitry Gutov, 2018/03/15
- [elpa] master 0cc4df5 410/433: Document mode transition hooks, Dmitry Gutov, 2018/03/15
- [elpa] master 8dcb066 414/433: Reword docstring & fix indentation, Dmitry Gutov, 2018/03/15
- [elpa] master c9a857a 407/433: Save font-lock-syntactic-face-function per major mode, Dmitry Gutov, 2018/03/15
- [elpa] master 545b85d 327/433: added more cc-mode variables to mmm-save-local-variables, Dmitry Gutov, 2018/03/15
- [elpa] master d58aacc 365/433: Fix mmm-add-to-major-mode-preferences docstring,
Dmitry Gutov <=
- [elpa] master 3d83b62 383/433: Add mmm-defaults.el (#36), Dmitry Gutov, 2018/03/15
- [elpa] master 278ba52 386/433: Fix #37, Dmitry Gutov, 2018/03/15
- [elpa] master ed9e32c 242/433: * FAQ: Updated comments about other emacs variants., Dmitry Gutov, 2018/03/15
- [elpa] master ecf2a75 257/433: Use correct variable name..., Dmitry Gutov, 2018/03/15
- [elpa] master cd85acc 266/433: Added file for building SRPMs, thanks to bishop, Dmitry Gutov, 2018/03/15
- [elpa] master 93e7a93 271/433: (mmm-save-local-variables): Add semantic stuff and, Dmitry Gutov, 2018/03/15
- [elpa] master c1a33b7 260/433: (mmm-define-key): Added optional keymap argument, Dmitry Gutov, 2018/03/15
- [elpa] master 821386c 283/433: Ignore .elc files, Dmitry Gutov, 2018/03/15
- [elpa] master 2cb7c99 189/433: Added multiple faces and optional levels of decoration., Dmitry Gutov, 2018/03/15
- [elpa] master 5321422 248/433: Updated docstrings and comments. Added primary mode hook., Dmitry Gutov, 2018/03/15