emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/easy-mmode.el,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/easy-mmode.el,v
Date: Tue, 28 Nov 2006 19:22:31 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      06/11/28 19:22:31

Index: easy-mmode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/emacs-lisp/easy-mmode.el,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- easy-mmode.el       31 Aug 2006 23:14:26 -0000      1.78
+++ easy-mmode.el       28 Nov 2006 19:22:31 -0000      1.79
@@ -500,7 +500,7 @@
                    ,(concat "^No \\(previous\\|next\\) " (regexp-quote name)))
        (defun ,next-sym (&optional count)
         ,(format "Go to the next COUNT'th %s." name)
-        (interactive)
+        (interactive "p")
         (unless count (setq count 1))
         (if (< count 0) (,prev-sym (- count))
           (if (looking-at ,re) (setq count (1+ count)))
@@ -523,7 +523,7 @@
        (put ',next-sym 'definition-name ',base)
        (defun ,prev-sym (&optional count)
         ,(format "Go to the previous COUNT'th %s" (or name base-name))
-        (interactive)
+        (interactive "p")
         (unless count (setq count 1))
         (if (< count 0) (,next-sym (- count))
            (let (was-narrowed)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]