Merge pull request #226 from MatthewZMD/master

Reverse M-< and M-> to stay consistent with Emacs
master
Matthew Zeng 6 years ago committed by GitHub
commit 11197bf8cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      core/js/get_markers.js
  2. 2
      core/js/goto_marker.js
  3. 15
      eaf.el

@ -152,6 +152,7 @@ z-index: 100000;\
let validRects = [];
addElementToRects(validRects, document.links); // collect links
addElementToRects(validRects, document.querySelectorAll('a')); // collect a tag without href
addElementToRects(validRects, document.querySelectorAll('input')); // collect inputs
addElementToRects(validRects, document.querySelectorAll('button')); // collect buttons
addElementToRects(validRects, document.querySelectorAll('[class*="btn"]')); // collect btn buttons

@ -44,6 +44,8 @@
link.click();
} else if(link.href != undefined && link.href != '' && link.getAttribute('href') != ''){
return link.href;
} else if(link.nodeName.toLowerCase() === 'a') {
link.click(); // most general a tag without href
}
}
return "";

@ -7,7 +7,7 @@
;; Copyright (C) 2018, Andy Stewart, all rights reserved.
;; Created: 2018-06-15 14:10:12
;; Version: 0.5
;; Last-Updated: Sat Feb 8 20:06:39 2020 (-0500)
;; Last-Updated: Sat Feb 8 20:14:10 2020 (-0500)
;; By: Mingde (Matthew) Zeng
;; URL: http://www.emacswiki.org/emacs/download/eaf.el
;; Keywords:
@ -252,8 +252,8 @@ Try not to modify this alist directly. Use `eaf-setq' to modify instead."
("M-q" . "clear_all_cookies")
("C-M-q" . "clear_history")
("M-v" . "scroll_down_page")
("M->" . "scroll_to_begin")
("M-<" . "scroll_to_bottom")
("M-<" . "scroll_to_begin")
("M->" . "scroll_to_bottom")
("M-t" . "new_blank_page")
("SPC" . "insert_or_scroll_up_page")
("J" . "insert_or_goto_left_tab")
@ -338,9 +338,8 @@ Try not to modify this alist directly. Use `eaf-setq' to modify instead."
("l" . "scroll_right")
("," . "scroll_up_page")
("." . "scroll_down_page")
(">" . "scroll_to_begin")
("<" . "scroll_to_bottom")
)
("<" . "scroll_to_begin")
(">" . "scroll_to_bottom"))
"The keybinding of EAF Image Viewer."
:type 'cons)
@ -380,8 +379,8 @@ Try not to modify this alist directly. Use `eaf-setq' to modify instead."
("C-p" . "scroll_down")
("C-v" . "scroll_up_page")
("M-v" . "scroll_down_page")
("M->" . "scroll_to_begin")
("M-<" . "scroll_to_bottom"))
("M-<" . "scroll_to_begin")
("M->" . "scroll_to_bottom"))
"The keybinding of EAF RSS Reader."
:type 'cons)

Loading…
Cancel
Save