emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/subr.el


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lisp/subr.el
Date: Sat, 31 Jul 2004 11:56:41 -0400

Index: emacs/lisp/subr.el
diff -c emacs/lisp/subr.el:1.401 emacs/lisp/subr.el:1.402
*** emacs/lisp/subr.el:1.401    Sat Jul 31 03:39:49 2004
--- emacs/lisp/subr.el  Sat Jul 31 15:45:30 2004
***************
*** 644,650 ****
    "Return a list of symbols representing the modifier keys in event EVENT.
  The elements of the list may include `meta', `control',
  `shift', `hyper', `super', `alt', `click', `double', `triple', `drag',
! and `down'."
    (let ((type event))
      (if (listp type)
        (setq type (car type)))
--- 644,654 ----
    "Return a list of symbols representing the modifier keys in event EVENT.
  The elements of the list may include `meta', `control',
  `shift', `hyper', `super', `alt', `click', `double', `triple', `drag',
! and `down'.
! EVENT may be an event or an event type.  If EVENT is a symbol
! that has never been used in an event that has been read as input
! in the current Emacs session, then this function can return nil,
! even when EVENT actually has modifiers."
    (let ((type event))
      (if (listp type)
        (setq type (car type)))
***************
*** 671,677 ****
  
  (defun event-basic-type (event)
    "Return the basic type of the given event (all modifiers removed).
! The value is a printing character (not upper case) or a symbol."
    (if (consp event)
        (setq event (car event)))
    (if (symbolp event)
--- 675,684 ----
  
  (defun event-basic-type (event)
    "Return the basic type of the given event (all modifiers removed).
! The value is a printing character (not upper case) or a symbol.
! EVENT may be an event or an event type.  If EVENT is a symbol
! that has never been used in an event that has been read as input
! in the current Emacs session, then this function may return nil."
    (if (consp event)
        (setq event (car event)))
    (if (symbolp event)




reply via email to

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