2023-01-23 16:30:18 +00:00
|
|
|
(defun xe/count-buffers (&optional display-anyway)
|
|
|
|
"Display or return the number of buffers."
|
|
|
|
(interactive)
|
|
|
|
(let ((buf-count (length (buffer-list))))
|
|
|
|
(if (or (interactive-p) display-anyway)
|
|
|
|
(message "%d buffers in this Emacs" buf-count)) buf-count))
|
|
|
|
|
2023-01-23 17:56:41 +00:00
|
|
|
(defun xe/look-of-disapproval ()
|
|
|
|
"Just in case we need this"
|
|
|
|
(interactive)
|
|
|
|
(insert "ಠ_ಠ"))
|
|
|
|
|
2023-01-23 16:30:18 +00:00
|
|
|
(provide 'xe-tools)
|