Function: dabbrev--ignore-buffer-p

dabbrev--ignore-buffer-p is a byte-compiled function defined in dabbrev.el.gz.

Signature

(dabbrev--ignore-buffer-p BUFFER)

Documentation

Return non-nil if BUFFER should be ignored by dabbrev.

Source Code

;; Defined in /usr/src/emacs/lisp/dabbrev.el.gz
(defun dabbrev--ignore-buffer-p (buffer)
  "Return non-nil if BUFFER should be ignored by dabbrev."
  (let ((bn (buffer-name buffer)))
    (or (member bn dabbrev-ignored-buffer-names)
	(let ((tail dabbrev-ignored-buffer-regexps)
	      (match nil))
	  (while (and tail (not match))
	    (setq match (string-match (car tail) bn)
		  tail (cdr tail)))
	  match))))