1. 17 Nov, 2019 6 commits
    • Phil Sainty's avatar
      * lisp/so-long.el (so-long-menu): Refactor action commands · ca84ddd9
      Phil Sainty authored
      Instead of using `so-long-menu-item-replace-action', call `so-long'
      with an ACTION argument, as it now supports this functionality.
      (so-long-menu-item-replace-action): Remove the deprecated function.
      
      * test/lisp/so-long-tests/so-long-tests.el
      (so-long-tests-so-long-menu-item-replace-action): Update test
      accordingly.
      ca84ddd9
    • Phil Sainty's avatar
      * lisp/so-long.el (so-long): Firstly revert the existing action, if any · bcf697b6
      Phil Sainty authored
      If multiple actions were to be layered on top of one another, we would
      lose the ability to revert to the normal state.
      
      This makes `so-long' consistent with the action commands in the menu.
      
      A custom action combining multiple other actions could be defined, if
      such behaviour was desired.
      bcf697b6
    • Stefan Monnier's avatar
      * lisp/so-long.el: Use (interactive "@") for menu commands · 95b499da
      Stefan Monnier authored
      * lisp/so-long.el (so-long-menu, so-long-menu-item-replace-action)
      (so-long-revert): Replace usage of `so-long-menu-click-window' with
      `interactive' code "@".  The new approach leaves the window selected,
      whereas the old code did not; but this is of no concern.
      (so-long-menu-click-window, so-long-menu-item-revert): Remove the
      deprecated functions.
      
      * test/lisp/so-long-tests/so-long-tests.el
      (so-long-tests-so-long-menu-item-replace-action): Update the test
      accordingly.
      95b499da
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      ; * lisp/so-long.el: Delete redundant :group declarations · d985ebaa
      Stefan Monnier authored
      * lisp/so-long.el (so-long-action, so-long-action-alist)
      (so-long-file-local-mode-function, so-long-hook)
      (so-long-invisible-buffer-function, so-long-max-lines)
      (so-long-minor-modes, so-long-predicate, so-long-revert-hook)
      (so-long-skip-leading-comments, so-long-target-modes)
      (so-long-threshold, so-long-variable-overrides)
      (so-long-mode-line-active, so-long-mode-line-inactive)
      (so-long-mode-line-label): Delete redundant :group declarations
      
      Refer to (elisp) Common Keywords
      
      > If this keyword is missing from a customization item, it’ll be
      > placed in the same group that was last defined (in the current
      > file).
      d985ebaa
  2. 16 Nov, 2019 11 commits
  3. 15 Nov, 2019 15 commits
  4. 14 Nov, 2019 8 commits