[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/widen-less 1459dab 2/3: mhtml-indent-line: Simplif
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] scratch/widen-less 1459dab 2/3: mhtml-indent-line: Simplify prog-indentation-context value |
Date: |
Fri, 1 Dec 2017 18:56:31 -0500 (EST) |
branch: scratch/widen-less
commit 1459dab59c26a03b80dea2f6d2f55d7372c8929f
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
mhtml-indent-line: Simplify prog-indentation-context value
N.B.: It didn't use the second field in the first place?
---
lisp/textmodes/mhtml-mode.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el
index 09da155..79c1125 100644
--- a/lisp/textmodes/mhtml-mode.el
+++ b/lisp/textmodes/mhtml-mode.el
@@ -341,9 +341,7 @@ This is used by `mhtml--pre-command'.")
((eq mhtml-tag-relative-indent 'ignore)
(setq base-indent 0)))
(narrow-to-region region-start (point-max))
- (let ((prog-indentation-context (list base-indent
- (cons (point-min) nil)
- nil)))
+ (let ((prog-indentation-context (list base-indent)))
(mhtml--with-locals submode
;; indent-line-function was rebound by
;; mhtml--with-locals.