mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 11:21:04 -08:00
Merge from origin/emacs-25
9ffe7dd* lisp/isearch.el (isearch-define-mode-toggle): Improve logic16140f7* lisp/menu-bar.el (menu-bar-options-menu): New search submenu3db6adb* lisp/isearch.el (search-default-mode)4ea1ea7* lisp/isearch.el: Rename search-default-regexp-mode to search-default-modec77ffc8Use monitor's resolution for positioning tooltips49e5749Fix file-notify-test on MS-Windowsbe1d874Fix issues found by auditing w32notify code87ae218Extend etags Ruby support for accessorsaa35257Update publicsuffix.txt.6816bffEnsure that Gnus dribble handling allows removing entries691feaeBe consistent when using encoded strings in nnimap data3ed423bDisplay the decoded Gnus group name5428b5bUse completion-ignore-case instead of defining command
This commit is contained in:
commit
b3fc7a3e76
22 changed files with 332 additions and 200 deletions
|
|
@ -1141,7 +1141,7 @@ which the local user typed."
|
|||
(define-key map "\C-c\C-u" 'erc-kill-input)
|
||||
(define-key map "\C-c\C-x" 'erc-quit-server)
|
||||
(define-key map "\M-\t" 'ispell-complete-word)
|
||||
(define-key map "\t" 'erc-completion-at-point)
|
||||
(define-key map "\t" 'completion-at-point)
|
||||
|
||||
;; Suppress `font-lock-fontify-block' key binding since it
|
||||
;; destroys face properties.
|
||||
|
|
@ -1463,6 +1463,7 @@ Defaults to the server buffer."
|
|||
(concat "\C-l\\|\\(^" (regexp-quote (erc-prompt)) "\\)"))
|
||||
(set (make-local-variable 'paragraph-start)
|
||||
(concat "\\(" (regexp-quote (erc-prompt)) "\\)"))
|
||||
(setq-local completion-ignore-case t)
|
||||
(add-hook 'completion-at-point-functions 'erc-complete-word-at-point nil t))
|
||||
|
||||
;; activation
|
||||
|
|
@ -3996,13 +3997,6 @@ Prompt for one if called interactively."
|
|||
(format "MODE %s +k %s" tgt key)
|
||||
(format "MODE %s -k" tgt)))))
|
||||
|
||||
(defun erc-completion-at-point ()
|
||||
"Perform completion on the text around point case-insensitively.
|
||||
See `completion-at-point'."
|
||||
(interactive)
|
||||
(let ((completion-ignore-case t))
|
||||
(completion-at-point)))
|
||||
|
||||
(defun erc-quit-server (reason)
|
||||
"Disconnect from current server after prompting for REASON.
|
||||
`erc-quit-reason' works with this just like with `erc-cmd-QUIT'."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue