aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-11-10 08:11:47 +0000
committerGlenn Morris2009-11-10 08:11:47 +0000
commite8a11b2298d9274b7496f6de6883bf4042823f0b (patch)
tree0aebe638444ec4c0825c17491c7953302cdf1f40
parentb16ff465dc11ec819bd3d20dd7003953c69b6178 (diff)
downloademacs-e8a11b2298d9274b7496f6de6883bf4042823f0b.tar.gz
emacs-e8a11b2298d9274b7496f6de6883bf4042823f0b.zip
Update x-popup-menu declaration.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/calendar/cal-menu.el2
-rw-r--r--lisp/calendar/calendar.el4
-rw-r--r--lisp/calendar/holidays.el4
-rw-r--r--lisp/dired.el2
-rw-r--r--lisp/hi-lock.el2
-rw-r--r--lisp/progmodes/cperl-mode.el2
7 files changed, 12 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5a6d18d35e8..652bd91d714 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12009-11-10 Glenn Morris <rgm@gnu.org> 12009-11-10 Glenn Morris <rgm@gnu.org>
2 2
3 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
4 * calendar/holidays.el, progmodes/cperl-mode.el:
5 Update x-popup-menu declarations.
6
3 * emacs-lisp/shadow.el (find-emacs-lisp-shadows) 7 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
4 (list-load-path-shadows): Use dolist. 8 (list-load-path-shadows): Use dolist.
5 (list-load-path-shadows): Use with-current-buffer. 9 (list-load-path-shadows): Use with-current-buffer.
diff --git a/lisp/calendar/cal-menu.el b/lisp/calendar/cal-menu.el
index e39e181dbed..81be8b533ab 100644
--- a/lisp/calendar/cal-menu.el
+++ b/lisp/calendar/cal-menu.el
@@ -164,7 +164,7 @@
164 ["Backward 1 Year" calendar-backward-year]) 164 ["Backward 1 Year" calendar-backward-year])
165 "Key map for \"Scroll\" menu in the calendar.") 165 "Key map for \"Scroll\" menu in the calendar.")
166 166
167(declare-function x-popup-menu "xmenu.c" (position menu)) 167(declare-function x-popup-menu "menu.c" (position menu))
168 168
169(defmacro cal-menu-x-popup-menu (event title &rest body) 169(defmacro cal-menu-x-popup-menu (event title &rest body)
170 "Call `x-popup-menu' at position EVENT, with TITLE and contents BODY. 170 "Call `x-popup-menu' at position EVENT, with TITLE and contents BODY.
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index d72a56d1114..ee242dc985b 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -114,7 +114,7 @@
114 114
115;;; Code: 115;;; Code:
116 116
117(load "cal-loaddefs" nil 'nomessage) 117(load "cal-loaddefs" nil t)
118 118
119;; Avoid recursive load of calendar when loading cal-menu. Yuck. 119;; Avoid recursive load of calendar when loading cal-menu. Yuck.
120(provide 'calendar) 120(provide 'calendar)
@@ -2510,7 +2510,7 @@ DATE is (month day year). Calendars that do not apply are omitted."
2510 (format "Mayan date: %s" 2510 (format "Mayan date: %s"
2511 (calendar-mayan-date-string date)))))) 2511 (calendar-mayan-date-string date))))))
2512 2512
2513(declare-function x-popup-menu "xmenu.c" (position menu)) 2513(declare-function x-popup-menu "menu.c" (position menu))
2514 2514
2515(defun calendar-print-other-dates (&optional event) 2515(defun calendar-print-other-dates (&optional event)
2516 "Show dates on other calendars for date under the cursor. 2516 "Show dates on other calendars for date under the cursor.
diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el
index d41f2cf9aff..cb32e19aaea 100644
--- a/lisp/calendar/holidays.el
+++ b/lisp/calendar/holidays.el
@@ -29,7 +29,7 @@
29;;; Code: 29;;; Code:
30 30
31(require 'calendar) 31(require 'calendar)
32(load "hol-loaddefs" nil 'nomessage) 32(load "hol-loaddefs" nil t)
33 33
34(defgroup holidays nil 34(defgroup holidays nil
35 "Holidays support in calendar." 35 "Holidays support in calendar."
@@ -643,7 +643,7 @@ The holidays are those in the list `calendar-holidays'."
643(define-obsolete-function-alias 643(define-obsolete-function-alias
644 'check-calendar-holidays 'calendar-check-holidays "23.1") 644 'check-calendar-holidays 'calendar-check-holidays "23.1")
645 645
646(declare-function x-popup-menu "xmenu.c" (position menu)) 646(declare-function x-popup-menu "menu.c" (position menu))
647 647
648;;;###cal-autoload 648;;;###cal-autoload
649(defun calendar-cursor-holidays (&optional date event) 649(defun calendar-cursor-holidays (&optional date event)
diff --git a/lisp/dired.el b/lisp/dired.el
index 34c17ea4f5d..57c5c8954b4 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -3311,7 +3311,7 @@ Anything else means ask for each directory."
3311 (message-box 3311 (message-box
3312 "Dired recursive copies are currently disabled.\nSee the variable `dired-recursive-copies'.")) 3312 "Dired recursive copies are currently disabled.\nSee the variable `dired-recursive-copies'."))
3313 3313
3314(declare-function x-popup-menu "xmenu.c" (position menu)) 3314(declare-function x-popup-menu "menu.c" (position menu))
3315 3315
3316(defun dired-dnd-do-ask-action (uri) 3316(defun dired-dnd-do-ask-action (uri)
3317 ;; No need to get actions and descriptions from the source, 3317 ;; No need to get actions and descriptions from the source,
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index 8a85068d559..418a98f3f3a 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -447,7 +447,7 @@ lower-case letters made case insensitive."
447 (unless hi-lock-mode (hi-lock-mode 1)) 447 (unless hi-lock-mode (hi-lock-mode 1))
448 (hi-lock-set-pattern regexp face)) 448 (hi-lock-set-pattern regexp face))
449 449
450(declare-function x-popup-menu "xmenu.c" (position menu)) 450(declare-function x-popup-menu "menu.c" (position menu))
451 451
452;;;###autoload 452;;;###autoload
453(defalias 'unhighlight-regexp 'hi-lock-unface-buffer) 453(defalias 'unhighlight-regexp 'hi-lock-unface-buffer)
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 7446de6ff8f..d7c6d9f1094 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -7171,7 +7171,7 @@ Use as
7171 (cons cons1 (car cperl-hierarchy))))))) 7171 (cons cons1 (car cperl-hierarchy)))))))
7172 (end-of-line)))) 7172 (end-of-line))))
7173 7173
7174(declare-function x-popup-menu "xmenu.c" (position menu)) 7174(declare-function x-popup-menu "menu.c" (position menu))
7175 7175
7176(defun cperl-tags-hier-init (&optional update) 7176(defun cperl-tags-hier-init (&optional update)
7177 "Show hierarchical menu of classes and methods. 7177 "Show hierarchical menu of classes and methods.