+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
(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."
(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)