summaryrefslogtreecommitdiff
path: root/lisp/progmodes/sh-script.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-08-10 18:21:15 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-08-10 18:21:15 +0200
commita8e89964f3553f40b8807617c3b181f42cd22fd9 (patch)
tree2c10808c2b87623c48792334b784b5daf3dbfb3c /lisp/progmodes/sh-script.el
parenta6bd0490317371dd49d847a774c8ae73315fe6d1 (diff)
downloademacs-a8e89964f3553f40b8807617c3b181f42cd22fd9.tar.gz
emacs-a8e89964f3553f40b8807617c3b181f42cd22fd9.tar.bz2
emacs-a8e89964f3553f40b8807617c3b181f42cd22fd9.zip
Use ### for outline headings in shell-script-mode
* lisp/progmodes/sh-script.el (sh-mode): Use ### for outline headings. This aligns it more with emacs-lisp-mode headings.
Diffstat (limited to 'lisp/progmodes/sh-script.el')
-rw-r--r--lisp/progmodes/sh-script.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 8fcb311ff1f..b6674731ddf 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1532,7 +1532,7 @@ with your script for an edit-interpret-debug cycle."
(setq-local add-log-current-defun-function #'sh-current-defun-name)
(add-hook 'completion-at-point-functions
#'sh-completion-at-point-function nil t)
- (setq-local outline-regexp "##")
+ (setq-local outline-regexp "###")
;; Parse or insert magic number for exec, and set all variables depending
;; on the shell thus determined.
(sh-set-shell