Lines Matching defs:buffer
32 ;; resulting buffer file is saved to another name it will correctly save
113 (if (assoc-default buffer-file-name mode-alist 'string-match)
125 (defvar archive-superior-buffer)
126 (defvar tar-superior-buffer)
135 (buffer-undo-list t)
136 (modified (buffer-modified-p)))
140 (set-buffer-modified-p modified)
148 (if (and (buffer-file-name)
149 (not (file-remote-p (buffer-file-name)))
150 (not (buffer-modified-p))
151 (not (and (boundp 'archive-superior-buffer)
152 archive-superior-buffer))
153 (not (and (boundp 'tar-superior-buffer)
154 tar-superior-buffer)))
156 (create-image (buffer-file-name)))
159 (buffer-substring-no-properties (point-min) (point-max)))
165 ;; This a cheap attempt to make the whole buffer
170 (buffer-undo-list t)
171 (modified (buffer-modified-p)))
173 (set-buffer-modified-p modified)
174 ;; Inhibit the cursor when the buffer contains only an image,