From: Glenn Morris Date: Tue, 10 Feb 2009 05:26:52 +0000 (+0000) Subject: Fix stupidity in previous change. X-Git-Tag: emacs-pretest-23.0.91~311 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6922e96e5bd8011bc23b18b913a8288d547cc806;p=emacs.git Fix stupidity in previous change. --- diff --git a/lisp/speedbar.el b/lisp/speedbar.el index ca2c102b35b..bd589f507ff 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -4127,10 +4127,9 @@ TEXT is the buffer's name, TOKEN and INDENT are unused." (if (eq font-lock-global-modes t) (setq font-lock-global-modes '(not speedbar-mode)) (if (eq (car font-lock-global-modes) 'not) - (add-to-list 'font-lock-global-modes 'speedbar-mode t)))) -;; If f-l-g-m is a non-empty list that doesn't begin with not, there -;; is nothing we can do. - + (add-to-list 'font-lock-global-modes 'speedbar-mode t) + (setq font-lock-global-modes (delq 'speedbar-mode + font-lock-global-modes))))) ;;; Obsolete variables and functions