[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/fountain-mode 459bd14 04/17: Remove --edit-line funcs
From: |
Paul Rankin |
Subject: |
[elpa] externals/fountain-mode 459bd14 04/17: Remove --edit-line funcs |
Date: |
Sun, 19 May 2019 09:55:58 -0400 (EDT) |
branch: externals/fountain-mode
commit 459bd14bceab3aabf6a9fc8ada0a965ae4979b81
Author: Paul W. Rankin <address@hidden>
Commit: Paul W. Rankin <address@hidden>
Remove --edit-line funcs
---
fountain-mode.el | 41 +----------------------------------------
1 file changed, 1 insertion(+), 40 deletions(-)
diff --git a/fountain-mode.el b/fountain-mode.el
index 379bb33..95f609c 100644
--- a/fountain-mode.el
+++ b/fountain-mode.el
@@ -3972,57 +3972,18 @@ halt at end of scene."
;;; Editing
-(require 'help)
-
-(defun fountain-set-edit-line ()
- "Set `fountain--edit-line' to current line.
-
-Added to `post-command-hook'."
- (setq fountain--edit-line (line-number-at-pos)))
-
(defcustom fountain-auto-upcase-scene-headings
t
"If non-nil, automatically upcase lines matching
`fountain-scene-heading-regexp'."
:type 'boolean
:group 'fountain)
-(defvar-local fountain--auto-upcase-line
- nil
- "Integer of line number to auto-upcase.
-If nil, auto-upcase is deactivated.")
-
-(defvar-local fountain--auto-upcase-overlay
- nil
- "Overlay used for auto-upcasing current line.")
-
-(define-obsolete-variable-alias 'fountain-tab-command
- 'fountain-tab-function "fountain-mode-2.7.0")
-(defcustom fountain-tab-function
- #'fountain-dwim
- "Command to call when pressing the TAB key."
- :type '(radio (function-item fountain-dwim)
- (function-item fountain-outline-cycle)
- (function-item fountain-toggle-auto-upcase)
- (function-item completion-at-point))
- :group 'fountain)
-
-(defun fountain-tab-action (&optional arg)
- "Simply calls the value of variable `fountain-tab-function'."
- (interactive "p")
- (condition-case nil
- (funcall fountain-tab-function arg)
- (wrong-number-of-arguments (funcall fountain-tab-function))))
-
(defun fountain-auto-upcase ()
"Upcase all or part of the current line contextually.
If `fountain-auto-upcase-scene-headings' is non-nil and point is
at a scene heading, activate auto upcasing for beginning of line
-to scene number or point.
-
-Otherwise, activate auto-upcasing for the whole line.
-
-Added as hook to `post-self-insert-hook'."
+to scene number or point."
(when (and fountain-auto-upcase-scene-headings
(fountain-match-scene-heading))
(upcase-region (line-beginning-position) (or (match-end 2) (point)))))
- [elpa] externals/fountain-mode f12e7f0 13/17: Improve completion for scene headings, (continued)
- [elpa] externals/fountain-mode f12e7f0 13/17: Improve completion for scene headings, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode c1a01e3 12/17: Remove old page-count vars/options, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 735561a 15/17: Change scene heading completion to location/suffix completion, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode cb78fc0 11/17: Bind TAB to fountain-dwim, C-c C-o to fountain-include-find-file, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode a6a11f8 07/17: Remove fountain page count commands from menu, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 5fd879c 09/17: Neaten up fountain menu, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 6cdcb2d 10/17: Bump version number, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode e8a7ecd 08/17: Remove fountain-tab-command from menu, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode eb1ae47 06/17: Cleaned up obsolete variable warnings, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode d6c367e 05/17: Clean-ups, fixing fountain-scene-numbers group, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 459bd14 04/17: Remove --edit-line funcs,
Paul Rankin <=
- [elpa] externals/fountain-mode 0a202b8 03/17: Remove fountain-auto-upcase-highlight face, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 7ace331 02/17: Remove timer page count and mode-line alteration, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode ea6f03b 01/17: Remove background functions & feature creep, Paul Rankin, 2019/05/19