]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/opascal.el: Tweak code to ease edebugging
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Jul 2019 19:41:17 +0000 (15:41 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Jul 2019 19:41:17 +0000 (15:41 -0400)
commit33ed5718083333d4c74d49a57e627c29918dbed2
treee220a80f33abacbf9e695188eac715998df53094
parent3f571bdd6889b09b8dee85d7d995097392a7cf1e
* lisp/progmodes/opascal.el: Tweak code to ease edebugging

(opascal-strings): Inline in its sole use.
(opascal-save-excursion): Add Edebug spec.
(opascal-is): Remove.  Use `memq` directly instead.
(opascal--in): New pcase pattern.
(opascal-literal-end-pattern): Remove unused function.
(opascal--scan-non-whitespace-backward): New macro.
(opascal-block-start, opascal-else-start, opascal-is-use-clause-end)
(opascal-previous-indent-of, opascal-section-indent-of)
(opascal-enclosing-indent-of): Use it.
(opascal-corrected-indentation): Presume we're already at first token.
(opascal-indent-line): Use indent-line-to.
(opascal-new-comment-line): Declare obsolete.
(opascal-mode-map): Keep the default M-j binding instead.
lisp/progmodes/opascal.el