aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThien-Thi Nguyen2007-08-27 13:38:50 +0000
committerThien-Thi Nguyen2007-08-27 13:38:50 +0000
commit2503f22288aa87e0ce77af4d45f7ef6e7b6eeab7 (patch)
tree45c57919fd56f1c58dbe347895e8be84618266ed
parent970a31dd849125f9d98bbc5519276338d1ddff28 (diff)
downloademacs-2503f22288aa87e0ce77af4d45f7ef6e7b6eeab7.tar.gz
emacs-2503f22288aa87e0ce77af4d45f7ef6e7b6eeab7.zip
(m2-definition, m2-module): Don't use previous-line.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/modula2.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cc03224e2dc..6e90767f46e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-08-27 Thien-Thi Nguyen <ttn@gnuvola.org>
2
3 * progmodes/modula2.el (m2-definition, m2-module):
4 Don't use previous-line. Reported by T. V. Raman.
5
12007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 62007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 7
3 * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit 8 * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
diff --git a/lisp/progmodes/modula2.el b/lisp/progmodes/modula2.el
index fde526ab303..f2530a7f502 100644
--- a/lisp/progmodes/modula2.el
+++ b/lisp/progmodes/modula2.el
@@ -295,7 +295,7 @@ followed by the first character of the construct.
295 (insert "DEFINITION MODULE ") 295 (insert "DEFINITION MODULE ")
296 (let ((name (read-string "Name: "))) 296 (let ((name (read-string "Name: ")))
297 (insert name ";\n\n\n\nEND " name ".\n")) 297 (insert name ";\n\n\n\nEND " name ".\n"))
298 (previous-line 3)) 298 (forward-line -3))
299 299
300(defun m2-else () 300(defun m2-else ()
301 "Insert ELSE keyword and indent for next line." 301 "Insert ELSE keyword and indent for next line."
@@ -364,7 +364,7 @@ followed by the first character of the construct.
364 (insert "IMPLEMENTATION MODULE ") 364 (insert "IMPLEMENTATION MODULE ")
365 (let ((name (read-string "Name: "))) 365 (let ((name (read-string "Name: ")))
366 (insert name ";\n\n\n\nEND " name ".\n") 366 (insert name ";\n\n\n\nEND " name ".\n")
367 (previous-line 3) 367 (forward-line -3)
368 (m2-header) 368 (m2-header)
369 (m2-type) 369 (m2-type)
370 (newline) 370 (newline)