• Alan Mackenzie's avatar
    Initial commit. Allow wanted fontification of open string in any mode. · 4a9b24e1
    Alan Mackenzie authored
    The wanted fontification is for the string face to end at the first unescaped
    newline.  This is achieved by a new syntax flag `s' on NL, which means
    "terminate any open string".
    
    src/syntax.c (SYNTAX_FLAGS_CLOSE_STRING, back_maybe_string): New functions.
    (Fstring_to_syntax, Finternal_describe_syntax_value, scan_lists)
    (scan_sexps_forward): Adapt to handle the `s' flag.
    
    lisp/font-lock.el (font-lock-warn-open-string): New defcustom.
    (font-lock-fontify-syntactically-region): Enhance to fontify " with
    warning-face.
    
    lisp/progmodes/sh-script.el (sh-mode-syntax-table): Add flag `s' to syntax
    entry for \n.
    4a9b24e1
Name
Last commit
Last update
admin Loading commit data...
build-aux Loading commit data...
doc Loading commit data...
etc Loading commit data...
leim Loading commit data...
lib Loading commit data...
lib-src Loading commit data...
lisp Loading commit data...
lwlib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
msdos Loading commit data...
nextstep Loading commit data...
nt Loading commit data...
oldXMenu Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.dir-locals.el Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
BUGS Loading commit data...
CONTRIBUTE Loading commit data...
COPYING Loading commit data...
ChangeLog.1 Loading commit data...
ChangeLog.2 Loading commit data...
ChangeLog.3 Loading commit data...
GNUmakefile Loading commit data...
INSTALL Loading commit data...
INSTALL.REPO Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
config.bat Loading commit data...
configure.ac Loading commit data...
make-dist Loading commit data...