diff options
| -rw-r--r-- | lisp/recentf.el | 1 | ||||
| -rw-r--r-- | lisp/wid-edit.el | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/recentf.el b/lisp/recentf.el index df7f3e2e565..3321f2fe101 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el | |||
| @@ -1064,7 +1064,6 @@ Go to the beginning of buffer if not found." | |||
| 1064 | (define-key km "q" 'recentf-cancel-dialog) | 1064 | (define-key km "q" 'recentf-cancel-dialog) |
| 1065 | (define-key km "n" 'next-line) | 1065 | (define-key km "n" 'next-line) |
| 1066 | (define-key km "p" 'previous-line) | 1066 | (define-key km "p" 'previous-line) |
| 1067 | (define-key km [follow-link] "\C-m") | ||
| 1068 | km) | 1067 | km) |
| 1069 | "Keymap used in recentf dialogs.") | 1068 | "Keymap used in recentf dialogs.") |
| 1070 | 1069 | ||
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 0a0f4582b32..9ede9a5633f 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el | |||
| @@ -1789,7 +1789,13 @@ If END is omitted, it defaults to the length of LIST." | |||
| 1789 | "An embedded link." | 1789 | "An embedded link." |
| 1790 | :button-prefix 'widget-link-prefix | 1790 | :button-prefix 'widget-link-prefix |
| 1791 | :button-suffix 'widget-link-suffix | 1791 | :button-suffix 'widget-link-suffix |
| 1792 | :follow-link 'mouse-face | 1792 | ;; The `follow-link' property should only be used in those contexts where the |
| 1793 | ;; mouse-1 event normally doesn't follow the link, yet the `link' widget | ||
| 1794 | ;; seems to almost always be used in contexts where (down-)mouse-1 is bound | ||
| 1795 | ;; to `widget-button-click' and hence the "mouse-1 to mouse-2" remapping is | ||
| 1796 | ;; not necessary (and can even be harmful). So let's not add a :follow-link | ||
| 1797 | ;; by default. See (bug#22434). | ||
| 1798 | ;; :follow-link 'mouse-face | ||
| 1793 | :help-echo "Follow the link." | 1799 | :help-echo "Follow the link." |
| 1794 | :format "%[%t%]") | 1800 | :format "%[%t%]") |
| 1795 | 1801 | ||