From: Edward M. Reingold Date: Tue, 5 Dec 1995 23:13:33 +0000 (+0000) Subject: Repair function names from rms error in modifying! X-Git-Tag: emacs-19.34~2171 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc83970dd245dba8196a5eced44a2f0d5a2215cf;p=emacs.git Repair function names from rms error in modifying! --- diff --git a/lisp/calendar/cal-menu.el b/lisp/calendar/cal-menu.el index 80bda84bae4..f99faf1105a 100644 --- a/lisp/calendar/cal-menu.el +++ b/lisp/calendar/cal-menu.el @@ -37,6 +37,7 @@ ;;; Code: (define-key calendar-mode-map [menu-bar edit] 'undefined) +(define-key calendar-mode-map [menu-bar search] 'undefined) (define-key calendar-mode-map [down-mouse-2] 'calendar-mouse-2-date-menu) (define-key calendar-mode-map [mouse-2] 'ignore) @@ -197,10 +198,11 @@ (put 'cal-tex-cursor-day 'menu-enable '(calendar-cursor-to-date)) (put 'cal-tex-cursor-week 'menu-enable '(calendar-cursor-to-date)) (put 'cal-tex-cursor-week2 'menu-enable '(calendar-cursor-to-date)) -(put 'cal-tex-cursor-week3 'menu-enable '(calendar-cursor-to-date)) -(put 'cal-tex-cursor-week4 'menu-enable '(calendar-cursor-to-date)) -(put 'cal-tex-cursor-week5 'menu-enable '(calendar-cursor-to-date)) -(put 'cal-tex-cursor-week6 'menu-enable '(calendar-cursor-to-date)) +(put 'cal-tex-cursor-week-iso 'menu-enable '(calendar-cursor-to-date)) +(put 'cal-tex-cursor-week-monday 'menu-enable '(calendar-cursor-to-date)) +(put 'cal-tex-cursor-week-filofax-2week + 'menu-enable '(calendar-cursor-to-date)) +(put 'cal-tex-cursor-week-filofax-week 'menu-enable '(calendar-cursor-to-date)) (put 'cal-tex-cursor-month 'menu-enable '(calendar-cursor-to-date)) (put 'cal-tex-cursor-month-landscape 'menu-enable '(calendar-cursor-to-date)) (put 'cal-tex-cursor-year 'menu-enable '(calendar-cursor-to-date)) @@ -306,34 +308,34 @@ The printed output will be on two pages." (calendar-goto-date (calendar-event-to-date)) (cal-tex-cursor-week2 nil))) -(defun cal-tex-mouse-week3 () +(defun cal-tex-mouse-week-iso () "One page calendar for week indicated by cursor. Holidays are included if `cal-tex-holidays' is t." (interactive) (save-excursion (calendar-goto-date (calendar-event-to-date)) - (cal-tex-cursor-week3 nil))) + (cal-tex-cursor-week-iso nil))) -(defun cal-tex-mouse-week4 () +(defun cal-tex-mouse-week-monday () "One page calendar for week indicated by cursor." (interactive) (save-excursion (calendar-goto-date (calendar-event-to-date)) - (cal-tex-cursor-week4 nil))) + (cal-tex-cursor-week-monday nil))) -(defun cal-tex-mouse-week5 () +(defun cal-tex-mouse-week-filofax-2week () "One page Filofax calendar for week indicated by cursor." (interactive) (save-excursion (calendar-goto-date (calendar-event-to-date)) - (cal-tex-cursor-week5 nil))) + (cal-tex-cursor-week-filofax-2week nil))) -(defun cal-tex-mouse-week6 () +(defun cal-tex-mouse-week-filofax-week () "Two page Filofax calendar for week indicated by cursor." (interactive) (save-excursion (calendar-goto-date (calendar-event-to-date)) - (cal-tex-cursor-week6 nil))) + (cal-tex-cursor-week-filofax-week nil))) (defun cal-tex-mouse-month () "Make a buffer with LaTeX commands for the month cursor is on.