Commit graph

1146 commits

Author SHA1 Message Date
Juri Linkov
e4c0cccf13 (read-buffer-to-switch): New function.
(switch-to-buffer-other-window, switch-to-buffer-other-frame):
Change interactive spec to call read-buffer-to-switch instead of
using the letter "B".
2008-04-22 19:48:02 +00:00
Stefan Monnier
e8dab97599 * files.el (locate-file-completion-table): Rename from
locate-file-completion and make it use `pred' in the normal way.
(locate-file-completion): New compatibility wrapper.
(load-library): Use locate-file-completion-table.
* emacs-lisp/find-func.el (find-library): Likewise.
* info.el: Use with-current-buffer and inhibit-read-only.
(Info-read-node-name-2): Change to use `predicate' in the normal way.
(Info-read-node-name-1): Adjust uses accordingly.
2008-04-19 03:33:13 +00:00
Glenn Morris
cd6ef82d85 Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
2008-04-12 03:17:19 +00:00
Juanma Barranquero
afe9998d56 (abort-if-file-too-large): Fix typo in docstring. 2008-04-05 21:15:20 +00:00
Adrian Robert
4954b81b55 files.el: add abort-if-file-too-large and use it in find-file-noselect and insert-file-1 2008-04-05 12:03:23 +00:00
Stefan Monnier
ece2193705 (auto-mode-alist): Use archive-mode for Debian packages. 2008-04-03 20:06:46 +00:00
Stefan Monnier
ae0ece90c6 (make-directory): Docstring fix. 2008-03-14 17:14:09 +00:00
Stefan Monnier
38a79e3315 (display-buffer-other-frame): Eliminate problematic code. 2008-03-11 20:48:57 +00:00
Miles Bader
51fb064bc7 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1090
2008-03-01 01:28:31 +00:00
Jason Rumney
ad80c67928 (make-auto-save-file-name): Encode more characters in
non-file buffer names. Use url-encoding.
2008-02-26 16:52:02 +00:00
Chong Yidong
d6d6157455 (shell-quote-wildcard-pattern): Quote ' and " as well. 2008-02-25 17:42:13 +00:00
Chong Yidong
df28b5c176 (shell-quote-wildcard-pattern): Quote ' and " as well. 2008-02-25 17:40:42 +00:00
Miles Bader
ffe832ea68 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1081
2008-02-25 00:21:57 +00:00
Jason Rumney
12f68d3fdf (file-name-invalid-regexp): Fix octal/decimal confusion. 2008-02-24 16:57:51 +00:00
Stefan Monnier
a02bf0c3ee (locate-dominating-file): Fix thinko in last change.
Reported by Bruce Stephens <bruce.stephens@isode.com>.
2008-02-19 02:21:08 +00:00
Stefan Monnier
5ffc4c051f (locate-dominating-file): Remove initial loop because it's
not careful enough.  Detect the uid-change all within the main loop.
2008-02-16 21:39:31 +00:00
Stefan Monnier
8299c8a5ce (file-remote-p): Docstring fix. 2008-01-30 21:25:08 +00:00
Miles Bader
02cbe062be Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1024
2008-01-30 07:11:04 +00:00
Richard M. Stallman
6638102773 (hack-local-variables): Don't query about fake variables. 2008-01-29 14:45:13 +00:00
Miles Bader
1bad168e59 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
2008-01-22 23:53:46 +00:00
Dan Nicolaescu
146b3daf07 (safe-local-eval-forms): Mark
(add-hook 'write-file-hooks 'time-stamp) as safe.
2008-01-10 14:01:13 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Thien-Thi Nguyen
cfef87adf1 (cd-absolute): Fix omission bug:
Make `list-buffers-directory' buffer-local.
2007-12-29 12:59:09 +00:00
Miles Bader
b17f53abc2 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
2007-12-28 22:26:14 +00:00
Richard M. Stallman
73936494a3 (conf-mode-maybe): New function.
(auto-mode-alist): Use conf-mode-maybe for .conf etc.
2007-12-26 17:29:34 +00:00
Juri Linkov
88a548042d (auto-mode-alist): Add \\' to doc-view files regexp.
Remove duplicate entry .x[bp]m accidently added by the latest sync from Emacs-22.
2007-12-23 17:37:46 +00:00
Andreas Schwab
f862fc9e05 (switch-to-buffer-other-frame): Return the buffer
switched to.
2007-12-23 16:08:54 +00:00
Andreas Schwab
a769e627ec (switch-to-buffer-other-frame): Return the buffer
switched to.
2007-12-23 16:07:54 +00:00
Eli Zaretskii
426aa4f0be (file-name-history): Add reference to `history-length' in the doc string. 2007-12-22 17:08:03 +00:00
Michael Albinus
9fa0d3aabb * files.el (cd-absolute): Set `list-buffers-directory' in order to
show correct path in buffer list.

* net/tramp.el (tramp-open-connection-setup-interactive-shell)
(tramp-find-shell): Send only single prompt setting commands, in
order to avoid double-prompt.

* net/tramp-compat.el (top): Require cl only when compiling.
Reported by Glenn Morris <rgm@gnu.org>.
2007-12-18 21:02:53 +00:00
Miles Bader
47854a5568 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-956
2007-12-16 04:31:49 +00:00
Vinicius Jose Latorre
c84b30043d revert-buffer docstring fix 2007-12-12 11:31:52 +00:00
Vinicius Jose Latorre
0dff897520 revert-buffer docstring fix 2007-12-12 11:25:21 +00:00
Vinicius Jose Latorre
2a29c40930 return back entry: revert-buffer should eliminate overlays and the mark 2007-12-12 01:18:26 +00:00
Vinicius Jose Latorre
bb14938c9f revert-buffer eliminates overlays and the mark 2007-12-11 00:26:52 +00:00
Dan Nicolaescu
62a7c35dbc (auto-mode-alist): Recognize verilog files. 2007-12-08 19:39:26 +00:00
Deepak Goel
f6e7ec0248 Fix possibly buggy calls to `message'. 2007-12-06 00:17:56 +00:00
Dan Nicolaescu
73e6adaa14 * international/titdic-cnv.el (dos-8+3-filename):
* obsolete/fast-lock.el (msdos-long-file-names):
* frame.el (msdos-mouse-p):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* net/browse-url.el (w32-shell-execute):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-22 01:05:55 +00:00
Dan Nicolaescu
99c715160b * frame.el (msdos-mouse-p):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Undo previous change.
2007-11-21 08:37:31 +00:00
Dan Nicolaescu
e8ffb999b9 * frame.el (msdos-mouse-p):
* generic-x.el (w32-shell-name):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names, dired-get-filename, dired-unmark)
(dired-do-flagged-delete, dos-8+3-filename, vms-read-directory)
(view-mode-disable):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* help-fns.el (ad-get-advice-info):
* font-lock.el (fast-lock-after-fontify-buffer)
(fast-lock-after-unfontify-buffer, fast-lock-mode)
(lazy-lock-after-fontify-buffer)
(lazy-lock-after-unfontify-buffer, lazy-lock-mode):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-21 03:06:01 +00:00
Werner LEMBERG
dddb4597e1 * files.el (set-auto-mode-1): Check second line for -*- if file
starts with '\" (which is used by man pages to identify needed
troff preprocessors).
2007-11-16 08:03:45 +00:00
Carsten Dominik
18d8cb813a * files.el (auto-mode-alist): Select org-mode for files with the
extension ".org".
2007-11-10 17:20:37 +00:00
Juanma Barranquero
d355b27085 (enable-local-variables): Doc fix. 2007-11-09 10:40:32 +00:00
Juanma Barranquero
3f2623c377 (enable-local-variables): Doc fix. 2007-11-09 03:19:27 +00:00
Romain Francoise
3020ee9278 2007-11-02 Drake Wilson <drake@begriffli.ch> (tiny change)
* files.el (hack-local-variables): Fix membership tests to avoid
	treating all variables as safe if `enable-local-variables' is
	set to :safe.
2007-11-02 11:03:43 +00:00
Romain Francoise
d7a2fd422e 2007-11-02 Drake Wilson <drake@begriffli.ch> (tiny change)
* files.el (hack-local-variables): Fix membership tests to avoid
	treating all variables as safe if `enable-local-variables' is
	set to :safe.
2007-11-02 11:02:13 +00:00
Juanma Barranquero
6daab4eda7 (kill-emacs-query-functions): Doc fix; `save-buffers-kill-emacs'
is no longer bound to a key.
2007-10-26 14:26:18 +00:00
Michael Albinus
5b2e628f4c * files.el (backup-buffer-copy): Call `copy-file' with non-nil
preserve-uid-gid.

* net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
compatibility.  It is not used, though.
2007-10-21 10:48:28 +00:00
Reiner Steib
9a9057825c (auto-mode-alist): Don't use doc-view for PS and EPS. 2007-10-18 19:59:52 +00:00