(woman-make-bufname): Handle man-pages with "." in the name. (Bug#5038)
+2009-12-02 Michael Welsh Duggan <mwd@cert.org>
+
+ * woman.el (woman-make-bufname): Handle man-pages with "." in the
+ name. (Bug#5038)
+
2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
* ido.el (ido-file-internal): Handle filenames at point that do
(defun woman-make-bufname (bufname)
"Create an unambiguous buffer name from BUFNAME."
- (let ((dot (string-match "\\." bufname)))
+ (let ((dot (string-match "\\.[^.]*\\'" bufname)))
(if dot (setq bufname (concat
(substring bufname (1+ dot)) " "
(substring bufname 0 dot))))