mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Removed setting of font-lock-keywords inadvertently left after last patch.
This commit is contained in:
parent
95132d1c30
commit
c4ca8d660f
1 changed files with 5 additions and 5 deletions
|
|
@ -827,11 +827,11 @@ Calls the value of `sh-set-shell-hook' if set."
|
|||
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 ]*")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue