Mercurial > emacs
changeset 9489:07dd35326963
Removed setting of font-lock-keywords inadvertently left after last patch.
author | Simon Marshall <simon@gnu.org> |
---|---|
date | Wed, 12 Oct 1994 16:03:28 +0000 |
parents | 114fe3739aa3 |
children | 4e70299f958d |
files | lisp/progmodes/sh-script.el |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el Wed Oct 12 09:27:49 1994 +0000 +++ b/lisp/progmodes/sh-script.el Wed Oct 12 16:03:28 1994 +0000 @@ -827,11 +827,11 @@ sh-shell (intern (file-name-nondirectory sh-shell-path)) sh-shell-is-csh (memq sh-shell '(csh tcsh)) font-lock-defaults - (list (intern-soft (format "sh-%s-font-lock-keywords" sh-shell))) - font-lock-keywords (if (and font-lock-keywords - (boundp font-lock-keywords)) - (symbol-value font-lock-keywords) - sh-font-lock-keywords) + (let ((keywords (intern-soft (format "sh-%s-font-lock-keywords" + sh-shell)))) + (list (if (and keywords (boundp keywords)) + keywords + 'sh-font-lock-keywords))) comment-start-skip (if sh-shell-is-csh "\\(^\\|[^$]\\|\\$[^{]\\)#+[\t ]*" "\\(^\\|[^$]\\|\\$[^{]\\)\\B#+[\t ]*")