emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] fix/bug-2034 cbadd95 3/3: Remove remnants of 'c-submode-in


From: Phil
Subject: [Emacs-diffs] fix/bug-2034 cbadd95 3/3: Remove remnants of 'c-submode-indicators'
Date: Sat, 7 Jul 2018 08:27:32 -0400 (EDT)

branch: fix/bug-2034
commit cbadd950719efe7c0d8aa201f3581b8cbf244c30
Author: Phil Sainty <address@hidden>
Commit: Phil Sainty <address@hidden>

    Remove remnants of 'c-submode-indicators'
    
    This code was commented out in commit
    cb694ab73063cc92342daf96d009cdc6d086bc0b in which the indicators were
    moved directory into 'mode-name' to avoid other minor mode lighters
    from being displayed inbetween.
    
    These indicators have since been replaced by 'c-modeline-flags'.
---
 lisp/progmodes/cc-engine.el | 4 ----
 lisp/progmodes/cc-mode.el   | 6 ------
 2 files changed, 10 deletions(-)

diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 3961ea6..338bf33 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -185,10 +185,6 @@
 (defvar c-auto-newline nil)
 (make-variable-buffer-local 'c-auto-newline)
 
-;; Included in the mode line to indicate the active submodes.
-;; (defvar c-submode-indicators nil)
-;; (make-variable-buffer-local 'c-submode-indicators)
-
 (defun c-calculate-state (arg prevstate)
   ;; Calculate the new state of PREVSTATE, t or nil, based on arg. If
   ;; arg is nil or zero, toggle the state. If arg is negative, turn
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 456b826..73b3b46 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -637,12 +637,6 @@ that requires a literal mode spec at compile time."
   (when (fboundp 'electric-indent-local-mode)
     (setq c-electric-flag electric-indent-mode))
 
-;;   ;; Put submode indicators onto minor-mode-alist, but only once.
-;;   (or (assq 'c-submode-indicators minor-mode-alist)
-;;       (setq minor-mode-alist
-;;         (cons '(c-submode-indicators c-submode-indicators)
-;;               minor-mode-alist)))
-
   ;; Add minor mode flags to `mode-name'.
   (c-update-modeline)
 



reply via email to

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