Chong Yidong
ca66f00dcd
(file-modes-rights-to-number): Doc fix.
...
(file-modes-symbolic-to-number): Handle empty permissions arg (Bug#2729).
2009-03-21 15:53:29 +00:00
Chong Yidong
86c7144b37
(get-free-disk-space): Ensure that default-directory is
...
usable before calling call-process. Suggested by Kevin
Ryde (Bug#2631).
2009-03-15 02:31:45 +00:00
Stefan Monnier
ccb012c57e
(auto-mode-alist): Add rules for OpenOffice extension
...
packages, as well as Opkg/Ipkg packages.
2009-03-13 15:58:06 +00:00
Kenichi Handa
86c507f71d
(basic-save-buffer-1): Set car part of
...
buffer-file-coding-system-explicit.
(revert-buffer): Check car part of
buffer-file-coding-system-explicit.
2009-03-03 01:58:22 +00:00
Glenn Morris
b61324c301
(confirm-nonexistent-file-or-buffer): `other' must be last custom
...
choice. (Bug#2506)
2009-03-01 00:48:51 +00:00
Jason Rumney
bb4a52db9f
(make-directory): Stop recursing if parent is self. (Bug#2309)
2009-02-17 14:27:28 +00:00
Eli Zaretskii
e005ff0da1
(load-library): Doc fix.
2009-02-13 15:14:33 +00:00
Stefan Monnier
70ff4f5966
(read-buffer-to-switch): Add table to icomplete-with-completion-tables.
2009-02-12 02:19:53 +00:00
Eli Zaretskii
86a3035294
(save-buffer): Display "Saving file FOO..." message regardless of
...
buffer's size. (Bug#2137)
2009-02-07 10:25:06 +00:00
Chong Yidong
0eef14bdd0
(save-buffers-kill-terminal): Args for
...
server-save-buffers-kill-terminal changed.
2009-01-11 16:45:52 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Chong Yidong
f6fbae115c
(basic-save-buffer): Revert 2008-12-22 change.
...
(buffer-swapped-with): Var removed.
2008-12-31 02:13:31 +00:00
Chong Yidong
d5ac5779a4
(move-file-to-trash): Bind backup-directory-alist to nil before
...
uniquifying backup trash file name.
2008-12-28 03:24:53 +00:00
Eli Zaretskii
7533b41880
(dosified-file-name): Declare.
2008-12-26 18:00:26 +00:00
Eli Zaretskii
8245c36184
(dir-locals-find-file) [ms-dos]: Run dir-locals-file through
...
dosified-file-name. Compare files case-insensitively on systems whose
filesystems are case-insensitive.
2008-12-26 15:01:10 +00:00
Richard M. Stallman
caba192ed3
(basic-save-buffer): Fix previous change.
2008-12-22 20:11:51 +00:00
Richard M. Stallman
6faf57bdbb
(buffer-swapped-with): New variable.
...
(basic-save-buffer-0): Most of basic-save-buffer moved here.
(basic-save-buffer): Unswap the buffer temporarily if nec.
2008-12-22 19:48:08 +00:00
Chong Yidong
be9acc2629
(save-some-buffers): At each map-y-or-n-p iteration,
...
check whether the buffer is still alive.
2008-12-09 23:43:11 +00:00
Glenn Morris
8bfbd1327b
(toggle-read-only): Doc fix.
2008-12-04 06:13:19 +00:00
Chong Yidong
622bdb51de
Correct spalling.
2008-12-03 03:26:01 +00:00
Juanma Barranquero
76e7a7f0b4
* files.el (break-hardlink-on-save): Fix typo in docstring. Add :version tag.
2008-11-29 21:32:39 +00:00
Karl Fogel
1d367309a1
* emacs-cvs/lisp/files.el
...
(break-hardlink-on-save): New variable.
(basic-save-buffer-2): Honor new variable break-hardlink-on-save.
(file-precious-flag): Mention it in doc string.
2008-11-29 19:04:14 +00:00
Chong Yidong
4a977e2030
(confirm-nonexistent-file-or-buffer): Allow
...
`after-completion' value to request confirm only after TAB.
(confirm-nonexistent-file-or-buffer): New function.
(read-buffer-to-switch, find-file, find-file-other-window)
(find-file-other-frame, find-file-read-only)
(find-file-read-only-other-window)
(find-file-read-only-other-frame): Use it.
(switch-to-buffer-other-window, switch-to-buffer-other-frame): Doc
fix.
2008-11-24 19:13:58 +00:00
Juri Linkov
75fd7f12d5
(hack-local-variables-confirm): Rename arg `project' to
...
`dir-name'. Move `(or dir-name name)' to let-binding of `name'.
(hack-local-variables-filter): Rename arg `project' to `dir-name'.
(hack-local-variables): Rename call of `hack-project-variables' to
`hack-dir-local-variables'. Change error text to "Directory-local
variables error".
(dir-locals-class-alist): Rename from `project-class-alist'.
(dir-locals-directory-alist): Rename from `project-directory-alist'.
(dir-locals-get-class-variables): Rename from `project-get-alist'.
(dir-locals-collect-mode-variables): Rename from
`project-collect-bindings-from-alist'. Rename arg `mode-alist' to
`mode-variables', and arg `settings' to `variables'.
(dir-locals-collect-variables): Rename from
`project-collect-binding-list'. Rename arg `binding-list' to
`class-variables', and arg `settings' to `variables'.
(dir-locals-set-directory-class): Rename from `set-directory-project'.
(dir-locals-set-class-variables): Rename from `define-project-bindings'.
Rename arg `settings' to `variables'.
(dir-locals-file): New defconst.
(dir-locals-find-file): Rename from `project-find-settings-file'.
Use `dir-locals-file'. Rename let-bound `settings' to `locals-file',
and `pda' to `dir-elt'.
(dir-locals-read-from-file): Rename from
`project-define-from-project-file'. Rename arg `settings-file'
to `file'. Rename let-bound `list' to `variables'.
(hack-dir-local-variables): Rename from `hack-project-variables'.
Rename let-bound `settings' to `variables-file', `root-dir'
to `dir-name', and `bindings' to `variables'.
2008-11-22 19:02:47 +00:00
Martin Rudalics
3ad96b4d0a
(switch-to-buffer-other-window, switch-to-buffer-other-frame):
...
Rename buffer argument to buffer-or-name. Reword and mention new
option confirm-nonexistent-file-or-buffer in doc-string.
2008-11-22 11:42:00 +00:00
Chong Yidong
08bb989956
(confirm-nonexistent-file-or-buffer): Change default to nil.
2008-11-21 06:46:18 +00:00
Glenn Morris
6620643fb3
Stephen Berman <Stephen.Berman at gmx.net>
...
(auto-mode-alist): Recognize more OpenOffice.org extensions.
2008-11-20 02:45:32 +00:00
Dan Nicolaescu
35f0d8ce8f
(project-settings-file): Remove.
...
(project-find-settings-file): Undo previous change that added the
use of project-settings-file.
2008-11-19 13:25:43 +00:00
Stefan Monnier
35b05a7793
(confirm-nonexistent-file-or-buffer):
...
Rename from find-file-confirm-nonexistent-file.
(read-buffer-to-switch): Use it.
2008-11-18 18:26:08 +00:00
Karl Fogel
dab71b2c8d
(file-precious-flag): Document that this flag is advisory.
2008-11-14 23:36:37 +00:00
Juanma Barranquero
8fc29035f3
* w32-fns.el (w32-shell-dos-semantics):
...
* calendar/diary-lib.el (diary-face-attrs):
* international/mule-cmds.el (set-default-coding-systems)
(prefer-coding-system):
* net/tramp.el (tramp-set-completion-function):
* progmodes/vhdl-mode.el (vhdl-file-header):
* term/pc-win.el (msdos-show-help): Fix typos in docstrings.
* emacs-lisp/authors.el (authors-fixed-entries): Fix typo in value.
* files.el (enable-local-eval, not-modified, kill-buffer-ask)
(kill-matching-buffers, save-buffers-kill-emacs)
(save-buffers-kill-terminal): Fix typos in docstrings.
(switch-to-buffer-other-window): Reflow docstring.
(revert-buffer): Doc fix.
(define-project-bindings): Rename arg LIST to SETTINGS.
(project-find-settings-file): Use `let', not `let*'. Use `when'.
2008-11-14 13:05:18 +00:00
Chong Yidong
386987aa50
(project-find-settings-file): Fix last change.
2008-11-13 17:04:53 +00:00
Juanma Barranquero
09949b83d2
* files.el (project-settings-file, locate-dominating-file):
...
Fix typos in docstrings.
(find-file-visit-truename): Remove * from defcustom docstring.
2008-11-13 16:01:47 +00:00
Chong Yidong
ffe89e7639
(project-settings-file): New variable.
...
(project-find-settings-file): Use it, instead of hardcoding .dir.settings.el.
2008-11-13 15:17:48 +00:00
Glenn Morris
976556c921
(locate-dominating-stop-dir-regexp): Fix typo.
2008-10-30 04:32:33 +00:00
Stefan Monnier
8cd56959b4
* files.el (locate-dominating-stop-dir-regexp): New var.
...
(locate-dominating-file): Change arg from a regexp to a file name.
Rewrite using the vc-find-root code to avoid directory-files which is
too slow. Obey locate-dominating-stop-dir-regexp.
Don't pay attention to changes in owner.
(project-find-settings-file): Adjust call to locate-dominating-file.
* progmodes/flymake.el (flymake-find-buildfile):
Adjust call to locate-dominating-file.
* vc-hooks.el (vc-find-root): Use locate-dominating-file.
(vc-ignore-dir-regexp): Use locate-dominating-stop-dir-regexp.
2008-10-25 15:18:53 +00:00
Eli Zaretskii
e240aaa99e
(trash-directory): Run thru `convert-standard-filename'.
...
(file-modes-char-to-who, file-modes-char-to-right)
(file-modes-rights-to-number, file-modes-symbolic-to-number)
(read-file-modes): Doc fixes.
2008-10-18 18:41:32 +00:00
Glenn Morris
f8dce815d0
(make-temp-file): Handle empty `prefix'. (Bug#1081)
2008-10-04 20:31:33 +00:00
Glenn Morris
4998f83947
(auto-mode-alist): Add .PRO as per above autoload.
2008-10-03 07:13:31 +00:00
Eli Zaretskii
a03c5807a3
(locate-dominating-file): Wrap directory-files with condition-case, instead
...
of calling file-directory-p, which stats the directory one more time.
2008-09-30 12:52:46 +00:00
Eli Zaretskii
69ad666d70
(locate-dominating-file): Take file-attributes of dir', not of
file'
...
(which never changes).
2008-09-29 11:31:10 +00:00
Michael Albinus
9f2f6ad816
* files.el (file-remote-p): Precise doc string; IDENTIFICATION can
...
also be `localname'.
2008-09-29 05:39:39 +00:00
Glenn Morris
3102b34263
David De La Harpe Golden <david at harpegolden.net>
...
(move-file-to-trash): Avoid recursive trashing if rename-file calls delete-file.
2008-09-20 21:29:03 +00:00
Simon Josefsson
8a28dd0bb6
(auto-mode-alist): Use sieve-mode for .sv, .siv, and
...
.sieve files.
2008-09-18 15:02:59 +00:00
Martin Rudalics
1676807bc7
(switch-to-buffer-other-frame): Don't raise frame since
...
pop-to-buffer already does it.
(display-buffer-other-frame): Fix doc-string.
2008-09-16 08:28:18 +00:00
Martin Rudalics
35e3abe55c
(file-truename): Don't raise args-out-of-range error
...
when filename has no separator on windows-nt. (Bug#982)
2008-09-15 09:23:45 +00:00
Dan Nicolaescu
c3190aad4b
(auto-mode-alist): Use verilog-mode for SystemVerilog files.
2008-09-02 16:10:37 +00:00
Chong Yidong
7e537871ff
(auto-save-visited-file-name): Move definition to fileio.c.
2008-08-05 21:41:46 +00:00
Chong Yidong
9b3e808682
(hack-one-local-variable-eval-safep): Handle lisp-indent-function and
...
scheme-indent-function in addition to the deprecated lisp-indent-hook.
2008-08-05 20:46:42 +00:00
Juanma Barranquero
094eabe407
* files.el (read-file-modes): Fix tpo in docstring.
2008-07-31 21:35:59 +00:00