changeset 57928:fad95a27e1d8

Comment change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 04 Nov 2004 10:04:16 +0000
parents ba164890f661
children 7cab04dc2b65
files lisp/files.el src/xmenu.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Thu Nov 04 10:02:38 2004 +0000
+++ b/lisp/files.el	Thu Nov 04 10:04:16 2004 +0000
@@ -676,7 +676,7 @@
 both at the level of the file and at the level of the directories
 containing it, until no links are left at any level.
 
-\(fn FILENAME)"
+\(fn FILENAME)"  ;; Don't document the optional arguments.
   ;; COUNTER and PREV-DIRS are only used in recursive calls.
   ;; COUNTER can be a cons cell whose car is the count of how many
   ;; more links to chase before getting an error.
--- a/src/xmenu.c	Thu Nov 04 10:02:38 2004 +0000
+++ b/src/xmenu.c	Thu Nov 04 10:04:16 2004 +0000
@@ -1120,9 +1120,13 @@
    popped down (deactivated).  This is used for x-popup-menu
    and x-popup-dialog; it is not used for the menu bar.
 
-   If DO_TIMERS is nonzero, run timers.
    If DOWN_ON_KEYPRESS is nonzero, pop down if a key is pressed.
 
+   This function used to have a DO_TIMERS argument which was
+   1 in the dialog case, and caused it to run Lisp-level timers.
+   That was unsafe so we removed it, but does anyone remember
+   why menus and dialogs were treated differently?
+
    NOTE: All calls to popup_get_selection should be protected
    with BLOCK_INPUT, UNBLOCK_INPUT wrappers.  */