136 |
This variable is used to initialise `comint-prompt-regexp' in the |
This variable is used to initialise `comint-prompt-regexp' in the |
137 |
shell buffer. |
shell buffer. |
138 |
|
|
139 |
This variable is only used if the variable |
If `comint-use-prompt-regexp' is nil, then this variable is only used |
140 |
`comint-use-prompt-regexp-instead-of-fields' is non-nil. |
to determine paragraph boundaries. See Info node `Shell Prompts' for |
141 |
|
how Shell mode treats paragraphs. |
142 |
|
|
143 |
The pattern should probably not match more than one line. If it does, |
The pattern should probably not match more than one line. If it does, |
144 |
Shell mode may become confused trying to distinguish prompt from input |
Shell mode may become confused trying to distinguish prompt from input |
423 |
(setq comint-file-name-chars shell-file-name-chars) |
(setq comint-file-name-chars shell-file-name-chars) |
424 |
(setq comint-file-name-quote-list shell-file-name-quote-list) |
(setq comint-file-name-quote-list shell-file-name-quote-list) |
425 |
(setq comint-dynamic-complete-functions shell-dynamic-complete-functions) |
(setq comint-dynamic-complete-functions shell-dynamic-complete-functions) |
426 |
|
(set (make-local-variable 'paragraph-separate) "\\'") |
427 |
(make-local-variable 'paragraph-start) |
(make-local-variable 'paragraph-start) |
428 |
(setq paragraph-start comint-prompt-regexp) |
(setq paragraph-start comint-prompt-regexp) |
429 |
(make-local-variable 'font-lock-defaults) |
(make-local-variable 'font-lock-defaults) |