Commit 2503f222 authored by Thien-Thi Nguyen's avatar Thien-Thi Nguyen
Browse files

(m2-definition, m2-module): Don't use previous-line.

parent 970a31dd
2007-08-27 Thien-Thi Nguyen <ttn@gnuvola.org>
* progmodes/modula2.el (m2-definition, m2-module):
Don't use previous-line. Reported by T. V. Raman.
2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
......
......@@ -295,7 +295,7 @@ followed by the first character of the construct.
(insert "DEFINITION MODULE ")
(let ((name (read-string "Name: ")))
(insert name ";\n\n\n\nEND " name ".\n"))
(previous-line 3))
(forward-line -3))
(defun m2-else ()
"Insert ELSE keyword and indent for next line."
......@@ -364,7 +364,7 @@ followed by the first character of the construct.
(insert "IMPLEMENTATION MODULE ")
(let ((name (read-string "Name: ")))
(insert name ";\n\n\n\nEND " name ".\n")
(previous-line 3)
(forward-line -3)
(m2-header)
(m2-type)
(newline)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment