Subject: 24.3.91; (void-function mouse--remap-link-click-p) in mouse-drag-line

From: Nicolas Richard <[email-masked]>
Date: Fri, 20 Jun 2014 18:09:45 +0200

from emacs -Q :
1. M-x package-list-packages RET
2. Double click on "Package" (first column header)

The error is :
Debugger entered--Lisp error: (void-function mouse--remap-link-click-p)
  mouse--remap-link-click-p
  mouse-drag-line
  mouse-drag-header-line
  call-interactively
  command-execute

(I removed the arguments, they weren't useful.)

The ChangeLog mentions that the function was removed on 2013-03-09.
The relevant commit is :

Author: Stefan Monnier <[email-masked]>
Date:   Fri Mar 8 23:15:53 2013 -0500

    Separate mouse-1-click-follows-link from mouse-drag-region.
    * lisp/mouse.el (mouse--down-1-maybe-follows-link): New function.
    (key-translation-map): Use it to implement mouse-1-click-follows-link.
    (mouse-drag-line, mouse-drag-track): Remove mouse-1-click-follows-link code.
    (mouse--remap-link-click-p): Remove.
    * src/keyboard.c (access_keymap_keyremap): Accept nil return value from
    functions to mean "no change".
    * src/keyboard.h (EVENT_START, EVENT_END, POSN_WINDOW, POSN_POSN)
    (POSN_WINDOW_POSN, POSN_TIMESTAMP): Be careful since events may come
    from Elisp via unread-command-events.

-- 
Nico.