aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2017-07-04 15:48:53 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-07-10 17:50:41 +0100
commit22b092e01164e85d3ae187e5545fd6f82eac7e1d (patch)
tree9435d7086c4db892a905578475fca321d32eca2e
parentaa75c1594e46e2cb647b01cc92ba9b57a0555229 (diff)
downloadrisu-22b092e01164e85d3ae187e5545fd6f82eac7e1d.tar.gz
risu.el: derive from text-mode
As RISU files have copious commentary it seems better to derive from text-mode so we can access things like spell-checker short cuts ;-) Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20170704144859.17644-6-alex.bennee@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--risu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/risu.el b/risu.el
index dff9337..1875d02 100644
--- a/risu.el
+++ b/risu.el
@@ -39,7 +39,7 @@
;;; Code
-(define-derived-mode risu-mode fundamental-mode "RISU"
+(define-derived-mode risu-mode text-mode "RISU"
"Major mode for editing RISU control files."
(set (make-local-variable 'font-lock-defaults) '(risu-font-lock-keywords)))