Changeset - 2771a82b6d45
[Not reviewed]
0 1 0
Sergey Pashinin - 11 years ago 2014-08-30 12:20:57
sergey@pashinin.com
Removed a function

It can be replaced with simple setq.
And toggle function is probably not used by anyone
1 file changed with 0 insertions and 11 deletions:
0 comments (0 inline, 0 general)
src/workgroups2.el
Show inline comments
 
@@ -658,12 +658,6 @@ features but is fucking unstable, so disabled by default"
 
  (declare (indent defun))
 
  `(wg-message (wg-fontify ,@format)))
 

	
 
(defun wg-toggle-and-message (symbol)
 
  "Toggle SYMBOL's truthiness and message the new value."
 
  (wg-fontified-message
 
    (:cmd (format "%s: " symbol))
 
    (:msg (format "%s" (wg-toggle symbol)))))
 

	
 
(defun wg-add-face (facekey string)
 
  "Return a copy of STRING fontified according to FACEKEY.
 
FACEKEY must be a key in `wg-face-abbrevs'."
 
@@ -1704,11 +1698,6 @@ Frame defaults to `selected-frame'.  See `wg-buffer-auto-association'."
 
    (set-default 'mode-line-format (remove it mode-line-format))
 
    (force-mode-line-update)))
 

	
 
(defun wg-toggle-mode-line-display ()
 
  "Toggle `wg-mode-line-display-on'."
 
  (interactive)
 
  (wg-toggle-and-message 'wg-mode-line-display-on))
 

	
 
(defun wg-add-workgroups-mode-minor-mode-entries ()
 
  "Add Workgroups' minor-mode entries.
 
Adds entries to `minor-mode-list', `minor-mode-alist' and
0 comments (0 inline, 0 general)