branch: externals/fountain-mode
commit db702b5fa51e5fe6f9b9902b024d7cc496bb827e
Author: Paul W. Rankin <[email protected]>
Commit: Paul W. Rankin <[email protected]>

    Add fountain-outline-show-all alias
---
 fountain-mode.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/fountain-mode.el b/fountain-mode.el
index 387cc9e..1728426 100644
--- a/fountain-mode.el
+++ b/fountain-mode.el
@@ -3573,6 +3573,7 @@ Otherwise, only operate on section and scene headings."
 (defalias 'fountain-outline-backward 'outline-backward-same-level)
 (defalias 'fountain-outline-up 'outline-up-heading)
 (defalias 'fountain-outline-mark 'outline-mark-subtree)
+(defalias 'fountain-outline-show-all 'outline-show-all)
 
 (when (< emacs-major-version 25)
   (defalias 'outline-show-all 'show-all)
@@ -4842,9 +4843,7 @@ keywords suitable for Font Lock."
      "---"
      ["Cycle Outline Visibility" fountain-outline-cycle]
      ["Cycle Global Outline Visibility" fountain-outline-cycle-global]
-     ;; FIXME: this would be better as an alias, i.e.
-     ;; `fountain-outline-show-all'
-     ["Show All" outline-show-all]
+     ["Show All" fountain-outline-show-all]
      "---"
      ["Next Character" fountain-forward-character]
      ["Previous Character" fountain-backward-character]

Reply via email to