2006-02-14 Chong Yidong <cyd@stupidchicken.com>
* files.el (hack-local-variables-confirm): Allow scrolling if the
- file variable list is too long.
+ file variable list is too long. Kill temp buffer after use.
2006-02-15 Nick Roberts <nickrob@snap.net.nz>
(let ((name (if buffer-file-name
(file-name-nondirectory buffer-file-name)
(concat "buffer " (buffer-name))))
- char)
+ prompt char)
(save-window-excursion
- (let ((buf (get-buffer-create "*Local Variables*"))
- (prompt))
+ (let ((buf (get-buffer-create "*Local Variables*")))
(pop-to-buffer buf)
(set (make-local-variable 'cursor-type) nil)
(erase-buffer)
(customize-save-variable
'safe-local-variable-values
safe-local-variable-values))
+ (kill-buffer buf)
(or (= char ?!)
(= char ?\s)
(= char ?y)))))))