emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 49083a0 09/23: No error if using sml.


From: Artur Malabarba
Subject: [elpa] master 49083a0 09/23: No error if using sml.
Date: Wed, 30 Sep 2015 12:16:00 +0000

branch: master
commit 49083a02f19b90043b13d27e0c0c302422fb7b40
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>

    No error if using sml.
---
 rich-minority.el |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/rich-minority.el b/rich-minority.el
index c8ae1d3..dff50bc 100644
--- a/rich-minority.el
+++ b/rich-minority.el
@@ -244,7 +244,9 @@ These properties take priority over those defined in
               (setq rm--backup-construct (car place))
               (setcar place rm--mode-line-construct))
           (setq rich-minority-mode nil)
-          (warn rm--warning-absent-element 'minor-mode-alist)))
+          (if (member 'sml/pos-id-separator mode-line-format)
+              (message "You don't need to activate rich-minority-mode if 
you're using smart-mode-line")
+            (warn rm--warning-absent-element 'minor-mode-alist))))
     (let ((place (member rm--mode-line-construct mode-line-modes)))
       (if place
           (setcar place rm--backup-construct)
@@ -253,3 +255,24 @@ These properties take priority over those defined in
 (provide 'rich-minority)
 
 ;;; rich-minority.el ends here
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]