Add dabbrev-ignored-buffer-regexps
This commit is contained in:
8
init.el
8
init.el
@@ -508,9 +508,17 @@
|
||||
;;; dabbrev
|
||||
|
||||
(setq dabbrev-upcase-means-case-search t)
|
||||
|
||||
(setq dabbrev-ignored-buffer-modes
|
||||
'(archive-mode image-mode docview-mode tags-table-mode pdf-view-mode))
|
||||
|
||||
(setq dabbrev-ignored-buffer-regexps
|
||||
'(;; - Buffers starting with a space (internal or temporary buffers)
|
||||
"\\` "
|
||||
;; Tags files such as ETAGS, GTAGS, RTAGS, TAGS, e?tags, and GPATH,
|
||||
;; including versions with numeric extensions like <123>
|
||||
"\\(?:\\(?:[EG]?\\|GR\\)TAGS\\|e?tags\\|GPATH\\)\\(<[0-9]+>\\)?"))
|
||||
|
||||
;;; Remove warnings from narrow-to-region, upcase-region...
|
||||
|
||||
(dolist (cmd '(list-timers narrow-to-region upcase-region downcase-region
|
||||
|
||||
Reference in New Issue
Block a user