Commit c79fb976 authored by Glenn Morris's avatar Glenn Morris


parent 34b1d750
......@@ -1649,6 +1649,8 @@ decompress the file if appropriate. See the documentation for the
(defun woman-make-bufname (bufname)
"Create an unambiguous buffer name from BUFNAME."
;; See Bug#5038. Any compression extension has already been removed.
;; Go from eg "host.conf.5" to "5 host.conf".
(let ((dot (string-match "\\.[^.]*\\'" bufname)))
(if dot (setq bufname (concat
(substring bufname (1+ dot)) " "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment