Changeset - 247ddbd10593
[Not reviewed]
0 1 0
Sergey Pashinin - 13 years ago 2013-05-02 20:59:03
sergey@pashinin.com
commented an advice that caused a bug with ido after some work with Wanderlust.
1 file changed with 7 insertions and 9 deletions:
0 comments (0 inline, 0 general)
src/workgroups-advice.el
Show inline comments
 
@@ -125,16 +125,14 @@ before selecting a new frame."
 
  (ad-activate 'save-buffers-kill-emacs)
 

	
 
  ;; select-frame
 
  (ad-enable-advice 'select-frame 'before
 
                    'wg-update-current-workgroup-working-wconfig)
 
  (ad-activate 'select-frame)
 

	
 

	
 
  ;;(ad-enable-advice 'select-frame 'before
 
  ;;                  'wg-update-current-workgroup-working-wconfig)
 
  ;;(ad-activate 'select-frame)
 
  )
 

	
 

	
 
;; disable all advice
 

	
 
;; (wg-disable-all-advice)
 
(defun wg-disable-all-advice ()
 
  "Disable and deactivate all of Workgroups' advice."
 

	
 
@@ -180,9 +178,9 @@ before selecting a new frame."
 
  (ad-deactivate 'save-buffers-kill-emacs)
 

	
 
  ;; select-frame
 
  (ad-disable-advice 'select-frame 'before
 
                     'wg-update-current-workgroup-working-wconfig)
 
  (ad-deactivate 'select-frame)
 
  ;;(ad-disable-advice 'select-frame 'before
 
  ;;                   'wg-update-current-workgroup-working-wconfig)
 
  ;;(ad-deactivate 'select-frame)
 

	
 
  )
 

	
0 comments (0 inline, 0 general)