File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -582,12 +582,13 @@ Here \"empty\" means containing only whitespace; comments are nonempty."
582582 ; ; skip empty subdivision
583583 (unless (looking-at " [ \t\n ]*[!ʔ]" )
584584 (setq count (+ count 1 )))
585- (re-search-forward " [!ʔ] " (overlay-end ovl) 'limit ))
585+ (re-search-forward " ! " (overlay-end ovl) 'limit ))
586586 count)))
587587
588588(defun narya-choose-delimited-term (ovl prompt extra )
589589 " Given a hole overlay, prompt the user to choose one of the terms in it."
590- (let* ((contents (string-trim (buffer-substring (overlay-start ovl) (overlay-end ovl))))
590+ (let* ((contents (string-trim (buffer-substring (+ (overlay-start ovl) 1 )
591+ (- (overlay-end ovl) 1 ))))
591592 (terms (split-string contents " !" ))
592593 (concatenated nil )
593594 (n 0 )
You can’t perform that action at this time.
0 commit comments