1. 02 May, 2010 4 commits
    • Stefan Monnier's avatar
      New hook filter-buffer-substring-functions. · 8f92b8ad
      Stefan Monnier authored
      * simple.el (with-wrapper-hook): Move.
      (buffer-substring-filters): Mark obsolete.
      (filter-buffer-substring-functions): New variable.
      (buffer-substring-filters): Use it.  Remove unused arg `noprops'.
      8f92b8ad
    • Stefan Monnier's avatar
      Use a mode-line spec rather than a static string in Semantic. · 672eb710
      Stefan Monnier authored
      * cedet/semantic/util-modes.el:
      (semantic-minor-modes-format): New var to replace...
      (semantic-minor-modes-status): Remove.
      (semantic-mode-line-update): Construct a mode-line spec rather than
      a static string so that mouse buttons can be used on individual minor
      modes and so that semantic-mode-line-update only needs to be called
      when global settings are changed.
      (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
      Call semantic-mode-line-update.
      (semantic-toggle-minor-mode-globally): Don't assume mode is on
      minor-mode-alist, check semantic-minor-mode-alist as well.
      (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
      (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
      (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
      * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
      * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
      (define-semantic-idle-service, semantic-idle-summary-mode):
      * cedet/semantic/decorate/mode.el (semantic-decoration-mode):
      Don't call semantic-mode-line-update any more.
      672eb710
    • Stefan Monnier's avatar
      Use define-minor-mode in CEDET where applicable. · cb7f3653
      Stefan Monnier authored
      * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
      Use define-minor-mode.
      
      * cedet/semantic/util-modes.el (semantic-add-minor-mode):
      Remove unused arg `keymap' and code redundant with define-minor-mode.
      (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
      (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
      (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
      (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
      (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
      (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
      Use define-minor-mode.
      (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
      (semantic-show-unmatched-syntax-mode-setup)
      (semantic-show-parser-state-mode-setup)
      (semantic-highlight-func-mode-setup): Inline into sole caller.
      
      * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
      (semantic-mru-bookmark-mode): Use define-minor-mode.
      (semantic-mru-bookmark-mode-setup): Inline into sole caller.
      
      * cedet/semantic/idle.el (define-semantic-idle-service):
      Use define-minor-mode and inline setup function into its sole caller.
      (semantic-idle-scheduler-mode-setup)
      (semantic-idle-summary-mode-setup): Inline into sole caller.
      (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
      Use define-minor-mode.
      
      * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode)
      (semantic-decoration-mode): Use define-minor-mode.
      (semantic-decoration-mode-setup): Inline into sole caller.
      
      * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
      (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
      (ede-dired-add-to-target): Use dolist.
      cb7f3653
    • Stefan Monnier's avatar
      * allout.el: Fix commenting convention. · a5a1e2ef
      Stefan Monnier authored
      a5a1e2ef
  2. 01 May, 2010 22 commits
  3. 30 Apr, 2010 10 commits
  4. 29 Apr, 2010 4 commits