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: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/subr.el
Date: Thu, 19 May 2005 11:43:48 -0400

Index: emacs/lisp/subr.el
diff -c emacs/lisp/subr.el:1.453 emacs/lisp/subr.el:1.454
*** emacs/lisp/subr.el:1.453    Thu May 19 01:56:04 2005
--- emacs/lisp/subr.el  Thu May 19 15:43:48 2005
***************
*** 603,610 ****
        (setq event (car event)))
    (if (symbolp event)
        (car (get event 'event-symbol-elements))
!     (let ((base (logand event (1- ?\A-\^@))))
!       (downcase (if (< base 32) (logior base 64) base)))))
  
  (defsubst mouse-movement-p (object)
    "Return non-nil if OBJECT is a mouse movement event."
--- 603,615 ----
        (setq event (car event)))
    (if (symbolp event)
        (car (get event 'event-symbol-elements))
!     (let* ((base (logand event (1- ?\A-\^@)))
!          (uncontrolled (if (< base 32) (logior base 64) base)))
!       ;; There are some numbers that are invalid characters and
!       ;; cause `downcase' to get an error.
!       (condition-case ()
!         (downcase uncontrolled)
!       (error uncontrolled)))))
  
  (defsubst mouse-movement-p (object)
    "Return non-nil if OBJECT is a mouse movement event."
***************
*** 2289,2297 ****
    (and (consp object)
         (eq (car object) 'frame-configuration)))
  
- (defsubst left-fringe-p ()
-   (equal (car (window-fringes)) 0))
- 
  (defun functionp (object)
    "Non-nil if OBJECT is any kind of function or a special form.
  Also non-nil if OBJECT is a symbol and its function definition is
--- 2294,2299 ----




reply via email to

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