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 ----


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to