diff options
| author | Juri Linkov | 2018-11-08 00:33:05 +0200 |
|---|---|---|
| committer | Juri Linkov | 2018-11-08 00:33:05 +0200 |
| commit | 25ab0980c773bcfea7fc84bc001481999ef72a81 (patch) | |
| tree | c809537280e17ad90453c26da9af00ba7afed521 | |
| parent | fdbe4035ac7305c2f70274d2133c310c3480e23a (diff) | |
| download | emacs-25ab0980c773bcfea7fc84bc001481999ef72a81.tar.gz emacs-25ab0980c773bcfea7fc84bc001481999ef72a81.zip | |
Advertise new hi-lock 'M-s h' key prefix in lisp/bindings.el
https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00104.html
| -rw-r--r-- | lisp/bindings.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index 76383ad2cef..bc4e741d01b 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -1029,6 +1029,13 @@ if `inhibit-field-text-motion' is non-nil." | |||
| 1029 | (define-key search-map "hu" 'unhighlight-regexp) | 1029 | (define-key search-map "hu" 'unhighlight-regexp) |
| 1030 | (define-key search-map "hf" 'hi-lock-find-patterns) | 1030 | (define-key search-map "hf" 'hi-lock-find-patterns) |
| 1031 | (define-key search-map "hw" 'hi-lock-write-interactive-patterns) | 1031 | (define-key search-map "hw" 'hi-lock-write-interactive-patterns) |
| 1032 | (put 'highlight-regexp :advertised-binding [?\M-s ?h ?r]) | ||
| 1033 | (put 'highlight-phrase :advertised-binding [?\M-s ?h ?p]) | ||
| 1034 | (put 'highlight-lines-matching-regexp :advertised-binding [?\M-s ?h ?l]) | ||
| 1035 | (put 'highlight-symbol-at-point :advertised-binding [?\M-s ?h ?.]) | ||
| 1036 | (put 'unhighlight-regexp :advertised-binding [?\M-s ?h ?u]) | ||
| 1037 | (put 'hi-lock-find-patterns :advertised-binding [?\M-s ?h ?f]) | ||
| 1038 | (put 'hi-lock-write-interactive-patterns :advertised-binding [?\M-s ?h ?w]) | ||
| 1032 | 1039 | ||
| 1033 | ;;(defun function-key-error () | 1040 | ;;(defun function-key-error () |
| 1034 | ;; (interactive) | 1041 | ;; (interactive) |