Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Eli Zaretskii
11aad4e9f9
subr.el (posn-col-row): Evaluate header-line-format in the context of
...
the POSITION window's buffer.
2010-12-12 22:45:57 +02:00
Glenn Morris
5612fd086e
Doc fixes.
...
* lisp/subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
(with-silent-modifications): Doc fixes.
2010-12-10 18:34:55 -08:00
Chong Yidong
74194465d7
Doc fix for posn-* functions (Bug#7471).
...
* lisp/subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
Doc fix (Bug#7471).
2010-12-04 19:43:18 -05:00
Eli Zaretskii
e68afd742f
subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2010-11-13 23:07:58 +02:00
Stefan Monnier
f3a30a50fa
* subr.el (unintern): Declare the obarray arg mandatory.
...
* emacs-lisp/byte-run.el (set-advertised-calling-convention):
Add `when' argument. Update callers.
2010-09-14 13:11:44 +02:00
Stefan Monnier
3ff7862473
* subr.el (read-key): Don't echo keystrokes.
...
Fixes: debbugs:6883
2010-08-21 10:56:54 +02:00
Stefan Monnier
186e86dbac
* lisp/subr.el (read-key): Don't hide the menu-bar entries.
...
Fixes: debbugs:6881
2010-08-19 16:37:31 +02:00
Andreas Schwab
7467d0a812
* subr.el (ignore-errors): Add debug declaration.
2010-08-11 15:43:49 +02:00
Stefan Monnier
b8add347be
* lisp/subr.el (read-quoted-char): Fix up last change.
...
Fixes: debbugs:6290
2010-06-16 23:37:13 -04:00
Juanma Barranquero
450439d5b6
Fix for momentary-string-display (Bug#6238).
...
* lisp/subr.el (momentary-string-display): Just use read-event to read
the exit event (Bug#6238).
2010-05-31 10:11:18 -04:00
Chong Yidong
29031d52fe
Stefan Monnier <monnier@iro.umontreal.ca>
2010-05-18 16:51:12 -04:00
Eli Zaretskii
9478502212
Fix doc strings of version-* functions and variables.
...
subr.el (version-regexp-alist, version-to-list)
(version-list-<, version-list-=, version-list-<=)
(version-list-not-zero, version<, version<=, version=): Doc fix.
(Bug#5744).
2010-03-27 15:31:04 +03:00
Štěpán Němec
bc91aee966
Close bug#5670 with patch from Å tÄpán NÄmec <stepnem at gmail.com>.
...
* subr.el (momentary-string-display): Don't overwrite the MESSAGE
argument with a local variable. (Bug#5670)
2010-03-02 19:58:26 -08:00
Eli Zaretskii
0f00e9485d
subr.el (remove-yank-excluded-properties): Explain in a comment why `category'
...
property is removed.
2010-02-20 10:59:16 +02:00
Stefan Monnier
28f0b0721d
(copy-overlay): Damn typo.
2010-02-11 14:37:11 -05:00
Stefan Monnier
48b1e7cf2b
* subr.el (copy-overlay): Handle deleted overlays.
2010-02-11 14:35:36 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Stefan Monnier
cb190d7d5f
(string-prefix-p): New function.
2009-11-25 03:59:19 +00:00
Dan Nicolaescu
2f7f4beee9
* progmodes/grep.el (grep-regexp-alist):
...
* international/mule-cmds.el (iso-2022-control-alist):
* emacs-lisp/timer.el (timer-duration-words):
* subr.el (version-separator, version-regexp-alist):
* minibuffer.el (completion-styles-alist):
* faces.el (face-attribute-name-alist, list-faces-sample-text):
Change defvars to defconsts.
2009-11-11 06:36:41 +00:00
Dan Nicolaescu
ff917d6321
* subr.el (add-hook): Purecopy strings.
...
(eval-after-load): Purecopy load-history-regexp and the form.
2009-11-11 06:16:16 +00:00
Dan Nicolaescu
a3c20c832c
* subr.el (menu-bar-separator): New defconst.
...
* replace.el (occur-mode-map):
* menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
(menu-bar-edit-menu, menu-bar-goto-menu, menu-bar-edit-menu)
(menu-bar-custom-menu, menu-bar-showhide-menu)
(menu-bar-options-menu, menu-bar-tools-menu)
(menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
(menu-bar-search-documentation-menu, menu-bar-manuals-menu)
(menu-bar-help-menu):
* ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
* buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
2009-11-11 05:57:51 +00:00
Dan Nicolaescu
6bdad9ae02
* term/x-win.el (x-gtk-stock-map):
...
* progmodes/vera-mode.el (auto-mode-alist):
* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
(inferior-lisp-program, inferior-lisp-load-command):
* progmodes/hideshow.el (hs-special-modes-alist):
* progmodes/gud.el (same-window-regexps):
* progmodes/grep.el (grep-program, find-program, xargs-program):
* net/telnet.el (same-window-regexps):
* net/rlogin.el (same-window-regexps):
* language/ethiopic.el (font-ccl-encoder-alist):
* vc-sccs.el (vc-sccs-master-templates):
* vc-rcs.el (vc-rcs-master-templates):
* subr.el (cl-assertion-failed):
* simple.el (next-error-overlay-arrow-position):
* lpr.el (lpr-command):
* locate.el (locate-ls-subdir-switches):
* info.el (same-window-regexps, info)
(Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
* image-mode.el (image-mode, auto-mode-alist):
* hippie-exp.el (hippie-expand-ignore-buffers):
* format.el (format-alist):
* find-dired.el (find-ls-subdir-switches, find-grep-options)
(find-name-arg):
* facemenu.el (facemenu-keybindings):
* dired.el (dired-listing-switches, dired-chown-program):
* diff.el (diff-switches, diff-command):
* cus-edit.el (same-window-regexps):
* bindings.el (mode-line-mule-info)
(mode-line-buffer-identification): Purecopy strings.
2009-11-11 05:49:09 +00:00
Stefan Monnier
4fcc3d324a
(all-completions): Declare the 4th arg obsolete.
2009-10-26 03:39:15 +00:00
Stefan Monnier
79bd5ba156
(read-key-delay): Reduce to 0.01.
...
(read-key): Use read-key-sequence-vector to avoid turning M-t into 244
(bug#4751).
2009-10-20 01:29:17 +00:00
Juanma Barranquero
f3ed9aca28
* subr.el (error, sit-for, start-process-shell-command)
...
(start-file-process-shell-command): Set the calling convention
after the function definition.
2009-10-16 05:03:56 +00:00
Stefan Monnier
fd6c51348d
(error, sit-for, start-process-shell-command)
...
(start-file-process-shell-command): Use the new
set-advertised-calling-convention feature.
2009-10-16 03:21:18 +00:00
Stefan Monnier
9d28c33ede
* eval.c (Fcalled_interactively_p): Add `kind' argument.
...
* subr.el (interactive-p): Mark obsolete.
(called-interactively-p): Make the optional-ness of `kind' obsolete.
* emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
advertised-signature-table for subroutines as well.
2009-10-01 17:47:38 +00:00
Glenn Morris
a4d2c321a5
(declare-function): Doc fix.
2009-10-01 02:03:38 +00:00
Chong Yidong
24aedbcaed
* subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
2009-09-19 19:54:36 +00:00
Chong Yidong
a69c67e84f
* subr.el: Fix last change to avoid using the `unless' macro, which
...
breaks bootstrapping.
2009-09-17 20:47:48 +00:00
Stefan Monnier
354f0faf61
(push, pop, dolist, dotimes, declare): Don't overwrite CL's
...
extended definitions, in case we reload subr.el after having
loaded CL.
(eval-next-after-load): Mark as obsolete.
2009-09-17 15:58:35 +00:00
Stefan Monnier
838ff45802
(after-load-functions): New hook.
...
(do-after-load-evaluation): Run it. Use string-match-p to detect
`obsolete' packages, rather than painfully extracting the relevant
directory name.
2009-09-15 03:39:40 +00:00
Stefan Monnier
45448e641a
* startup.el (tutorial-directory): Make it a defcustom.
...
Use custom-initialize-delay rather than eval-at-startup to set it.
* image.el (image-load-path): Make it a defcustom.
Use custom-initialize-delay rather than eval-at-startup to set it.
* subr.el (eval-at-startup): Remove.
* font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
2009-09-12 03:55:46 +00:00
Stefan Monnier
5766c380ee
* lread.c (Fload): Don't output a message after loading an obsolete
...
package any more (done in Lisp now).
* subr.el (do-after-load-evaluation): Warn the user after loading an
obsolete package.
2009-09-12 03:35:40 +00:00
Stefan Monnier
50d4ba3993
* keyboard.c (Qmenu_alias, Vdefine_key_rebound_commands): Remove.
...
(parse_menu_item): Streamline since bindings are recomputed all the
time anyway. Don't bother checking Vdefine_key_rebound_commands any
more and don't support lmenu's menu-alias any more either.
* subr.el (define-key-rebound-commands): Mark obsolete.
* startup.el (precompute-menubar-bindings): Remove.
(normal-top-level): Remove obsolete code that tried to precompute
menubar bindings.
* loadup.el (define-key-rebound-commands): Don't bother fiddling with
define-key-rebound-commands and precompute-menubar-bindings.
2009-09-10 18:19:03 +00:00
Stefan Monnier
83a5aac556
(with-silent-modifications): New macro.
2009-09-08 19:42:21 +00:00
Juanma Barranquero
060c08b574
* subr.el (do-after-load-evaluation): Fix last change: use `mapc'
...
instead of `dolist' to avoid a recursive require when bootstrapping.
2009-08-30 18:17:20 +00:00
Juanma Barranquero
486cf3b876
* subr.el (do-after-load-evaluation): Simplify.
2009-08-29 22:27:19 +00:00
Stefan Monnier
4e3b4528ea
* subr.el (default-mode-line-format, default-header-line-format)
...
(default-line-spacing, default-abbrev-mode, default-ctl-arrow)
(default-direction-reversed, default-truncate-lines)
(default-left-margin, default-tab-width, default-case-fold-search)
(default-left-margin-width, default-right-margin-width)
(default-left-fringe-width, default-right-fringe-width)
(default-fringes-outside-margins, default-scroll-bar-width)
(default-vertical-scroll-bar, default-indicate-empty-lines)
(default-indicate-buffer-boundaries, default-fringe-indicator-alist)
(default-fringe-cursor-alist, default-scroll-up-aggressively)
(default-scroll-down-aggressively, default-fill-column)
(default-cursor-type, default-buffer-file-type)
(default-cursor-in-non-selected-windows)
(default-buffer-file-coding-system, default-major-mode)
(default-enable-multibyte-characters): Mark as obsolete.
* cus-start.el (default-major-mode): Customize `major-mode' instead.
(enable-multibyte-characters): Not customizable any more.
2009-08-27 04:24:00 +00:00
Stefan Monnier
4fd15622e6
(read-passwd): Use read-key so keypad keys work as well.
2009-08-19 19:42:25 +00:00
Stefan Monnier
03a74b84f8
* subr.el (listify-key-sequence-1): Use normal syntax since those
...
integers are nowadays always represented by the same (positive) number
on all platforms.
(read-key-empty-map): New const.
(read-key-delay): New var.
(read-key): New function.
(force-mode-line-update): Use with-current-buffer.
(locate-user-emacs-file): Don't forget to abbreviate the file name.
(start-process-shell-command, start-file-process-shell-command):
Discourage the use of command-args.
* processes.texi (Asynchronous Processes): Adjust arglist of
start-process-shell-command and start-file-process-shell-command.
2009-08-19 03:03:05 +00:00
Chong Yidong
18d433a761
* subr.el: Provide hashtable-print-readable.
2009-08-09 02:57:45 +00:00
Juri Linkov
d842b10332
(process-kill-buffer-query-function): New function.
...
(add-hook)<kill-buffer-query-functions>: Add hook
`process-kill-buffer-query-function'.
2009-07-18 21:06:04 +00:00
Glenn Morris
e32721f52f
(def-edebug-spec): Doc fix.
2009-07-14 07:45:56 +00:00
Glenn Morris
f176290e84
(eval-after-load): Doc fix.
2009-07-06 00:51:27 +00:00
Glenn Morris
00b9254ce3
Fix previous change, sigh.
2009-06-19 03:08:54 +00:00
Glenn Morris
6ec6d6f469
(open-network-stream): Doc fix.
2009-06-19 03:06:40 +00:00
Chong Yidong
753bc4f650
* subr.el (assoc-default): Doc fix.
2009-04-29 04:46:15 +00:00
Chong Yidong
7beba943ec
* subr.el (posn-col-row): Properly compute line spacing.
...
Suggested by Nikolaj Schumacher (Bug#2933).
2009-04-15 22:41:20 +00:00