comparison lisp/progmodes/sh-script.el @ 9375:2cccfdee4f95

(sh-font-lock-keywords): Default to nil.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Oct 1994 09:49:47 +0000
parents 23fe3c3fffe5
children 255efa3fb8d0
comparison
equal deleted inserted replaced
9374:347f919eea4a 9375:2cccfdee4f95
285 "Alist of all environment and shell variables used for completing read. 285 "Alist of all environment and shell variables used for completing read.
286 Variables only understood by some shells are associated to a list of those.") 286 Variables only understood by some shells are associated to a list of those.")
287 287
288 288
289 289
290 (defvar sh-font-lock-keywords 290 (defvar sh-font-lock-keywords nil
291 '(("[ \t]\\(#.*\\)" 1 font-lock-comment-face) 291 ;; This is done syntactically:
292 ("\"[^`]*\"\\|'.*'\\|\\\\[^\nntc]" . font-lock-string-face)) 292 ;'(("[ \t]\\(#.*\\)" 1 font-lock-comment-face)
293 ; ("\"[^`]*\"\\|'.*'\\|\\\\[^\nntc]" . font-lock-string-face))
293 "*Rules for highlighting shell scripts. 294 "*Rules for highlighting shell scripts.
294 This variable is included into the various variables 295 This variable is included into the various variables
295 `sh-SHELL-font-lock-keywords'. If no such variable exists for some shell, 296 `sh-SHELL-font-lock-keywords'. If no such variable exists for some shell,
296 this one is used.") 297 this one is used.")
297 298