Emacs: Fix regexp-kill-ring not being updated

master
Pierre Neidhardt 2015-05-15 08:21:09 +02:00
parent 295127824e
commit 877f9f1318
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ it appears in the minibuffer prompt."
(defun insert-symbol-at-point-in-regexp-search-ring ()
"Insert symbol at point in regexp search ring."
(interactive)
(add-to-list 'regexp-search-ring (find-tag-default-as-symbol-regexp)))
(add-to-history 'regexp-search-ring (find-tag-default-as-symbol-regexp)))
(define-key my-keys-minor-mode-map "\M-#" 'insert-symbol-at-point-in-regexp-search-ring)
(defun kill-all-buffers ()