aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2002-05-19 02:11:24 +0000
committerStefan Monnier2002-05-19 02:11:24 +0000
commitde856d998f97607dae0127d0b455fc2b0b08e007 (patch)
tree5ec4008951f78da0e5b20ffddab510c4b464b3fe /lisp
parent51bfe25eff7719f53cb8fdfe941aefac49b8b013 (diff)
downloademacs-de856d998f97607dae0127d0b455fc2b0b08e007.tar.gz
emacs-de856d998f97607dae0127d0b455fc2b0b08e007.zip
(uniquify-rationalize-file-buffer-names):
Always strip the trailing / even if the file is not a directory.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog22
-rw-r--r--lisp/uniquify.el4
2 files changed, 20 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0d3db06d6b5..04f8a0aa96f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,14 +1,19 @@
12002-05-18 Stefan Monnier <monnier@cs.yale.edu>
2
3 * uniquify.el (uniquify-rationalize-file-buffer-names):
4 Always strip the trailing / even if the file is not a directory.
5
12002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk> 62002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
2 7
3 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the 8 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
4 initialization in the defvar. 9 initialization in the defvar.
5 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property. 10 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
6 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3) 11 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
7 (f90-font-lock-4): Move the doc strings. 12 (f90-font-lock-4): Move the doc strings.
8 (f90-menu-bar-menu): New internal variable to hold the top-level menu. 13 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
9 (f90-change-case-menu, f90-font-lock-menu): Minor code changes. 14 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
10 (f90-mode-abbrev-table): Initialize in the defvar, with 15 (f90-mode-abbrev-table): Initialize in the defvar, with
11 define-abbrev-table. 16 define-abbrev-table.
12 17
132002-05-18 Eli Zaretskii <eliz@is.elta.co.il> 182002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
14 19
@@ -40,10 +45,21 @@
40 45
41 * tar-mode.el (tar-octal-time): Fix the last argument of logior. 46 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
42 47
482002-05-16 Stefan Monnier <monnier@cs.yale.edu>
49
50 * emacs-lisp/find-func.el (find-function-search-for-symbol):
51 Find funs defined with defun-cvs-mode.
52 (find-function-space-re): New const. Skips comments as well.
53 (find-function-regexp, find-variable-regexp): Use it.
54
55 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
56 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
57 (cvs-mode-set-flags): Don't cons unnecessarily.
58
432002-05-16 Colin Walters <walters@debian.org> 592002-05-16 Colin Walters <walters@debian.org>
44 60
45 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to 61 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
46 "Simple Calculator". 62 "Simple Calculator".
47 (menu-bar-tools-menu) <calc>: New. 63 (menu-bar-tools-menu) <calc>: New.
48 64
492002-05-16 Juanma Barranquero <lektu@terra.es> 652002-05-16 Juanma Barranquero <lektu@terra.es>
diff --git a/lisp/uniquify.el b/lisp/uniquify.el
index cd8b22303dc..448ce6f4744 100644
--- a/lisp/uniquify.el
+++ b/lisp/uniquify.el
@@ -199,9 +199,7 @@ file name elements. Arguments cause only a subset of buffers to be renamed."
199 (setq bfn (if (eq buffer newbuf) 199 (setq bfn (if (eq buffer newbuf)
200 (when newbuffile 200 (when newbuffile
201 (expand-file-name 201 (expand-file-name
202 (if (file-directory-p newbuffile) 202 (directory-file-name newbuffile)))
203 (directory-file-name newbuffile)
204 newbuffile)))
205 (uniquify-buffer-file-name buffer))) 203 (uniquify-buffer-file-name buffer)))
206 (setq rawname (uniquify-file-name-nondirectory bfn)) 204 (setq rawname (uniquify-file-name-nondirectory bfn))
207 (or (not newbuffile) 205 (or (not newbuffile)