2009-12-02 Michael Welsh Duggan <mwd at cert.org>
(woman-make-bufname): Handle man-pages with "." in the name. (Bug#5038)
This commit is contained in:
parent
b2d5f31abf
commit
34b1d75011
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -1649,7 +1649,7 @@ decompress the file if appropriate. See the documentation for the
|
|||
|
||||
(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))))
|
||||
|
|
Loading…
Add table
Reference in a new issue