summaryrefslogtreecommitdiff
path: root/lisp/subr.el
Commit message (Collapse)AuthorAgeFilesLines
* * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).Chong Yidong2009-09-191-6/+0
|
* * subr.el: Fix last change to avoid using the `unless' macro, whichChong Yidong2009-09-171-4/+8
| | | | breaks bootstrapping.
* (push, pop, dolist, dotimes, declare): Don't overwrite CL'sStefan Monnier2009-09-171-6/+15
| | | | | | extended definitions, in case we reload subr.el after having loaded CL. (eval-next-after-load): Mark as obsolete.
* (after-load-functions): New hook.Stefan Monnier2009-09-151-4/+9
| | | | | | (do-after-load-evaluation): Run it. Use string-match-p to detect `obsolete' packages, rather than painfully extracting the relevant directory name.
* * startup.el (tutorial-directory): Make it a defcustom.Stefan Monnier2009-09-121-16/+0
| | | | | | | | 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.
* * lread.c (Fload): Don't output a message after loading an obsoleteStefan Monnier2009-09-121-2/+14
| | | | | | package any more (done in Lisp now). * subr.el (do-after-load-evaluation): Warn the user after loading an obsolete package.
* * keyboard.c (Qmenu_alias, Vdefine_key_rebound_commands): Remove.Stefan Monnier2009-09-101-0/+1
| | | | | | | | | | | | (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.
* (with-silent-modifications): New macro.Stefan Monnier2009-09-081-0/+23
|
* * subr.el (do-after-load-evaluation): Fix last change: use `mapc'Juanma Barranquero2009-08-301-5/+6
| | | | instead of `dolist' to avoid a recursive require when bootstrapping.
* * subr.el (do-after-load-evaluation): Simplify.Juanma Barranquero2009-08-291-10/+5
|
* * subr.el (default-mode-line-format, default-header-line-format)Stefan Monnier2009-08-271-0/+39
| | | | | | | | | | | | | | | | | | | (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.
* (read-passwd): Use read-key so keypad keys work as well.Stefan Monnier2009-08-191-4/+2
|
* * subr.el (listify-key-sequence-1): Use normal syntax since thoseStefan Monnier2009-08-191-14/+58
| | | | | | | | | | | | | | | 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.
* * subr.el: Provide hashtable-print-readable.Chong Yidong2009-08-091-0/+9
|
* (process-kill-buffer-query-function): New function.Juri Linkov2009-07-181-0/+10
| | | | | (add-hook)<kill-buffer-query-functions>: Add hook `process-kill-buffer-query-function'.
* (def-edebug-spec): Doc fix.Glenn Morris2009-07-141-2/+5
|
* (eval-after-load): Doc fix.Glenn Morris2009-07-061-1/+5
|
* Fix previous change, sigh.Glenn Morris2009-06-191-1/+2
|
* (open-network-stream): Doc fix.Glenn Morris2009-06-191-10/+10
|
* * subr.el (assoc-default): Doc fix.Chong Yidong2009-04-291-5/+7
|
* * subr.el (posn-col-row): Properly compute line spacing.Chong Yidong2009-04-151-7/+13
| | | | Suggested by Nikolaj Schumacher (Bug#2933).
* * subr.el (forward-point): Add obsolescence declaration.Juanma Barranquero2009-03-191-0/+1
| | | | | | * paren.el (show-paren-function): * simple.el (kill-forward-chars, kill-backward-chars): Use (+/- (point) N), instead of `forward-point'.
* (translation-table-for-input): Declare obsolete again.Eli Zaretskii2009-02-141-0/+6
|
* (locate-library): Doc fix. (Bug#2291)Eli Zaretskii2009-02-131-0/+3
|
* Don't declare `translation-table-for-input' obsolete.Eli Zaretskii2009-02-071-3/+0
| | | | Equivalent info added to its doc string, q.v.
* * subr.el (play-sound): Doc fix. (Bug#250)Juanma Barranquero2009-01-121-3/+5
| | | | (shell-quote-argument, field-at-pos): Fix typos in docstrings.
* Comment (fix typo).Glenn Morris2009-01-101-1/+1
|
* (last-input-char, last-command-char): Move here from src/keyboard.c.Glenn Morris2009-01-091-0/+10
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (mkdir): New defalias.Dan Nicolaescu2008-12-291-0/+1
|
* (keymap-canonicalize): Properly preserve keymap prompt.Andreas Schwab2008-12-261-3/+3
|
* * subr.el (chmod): New defalias for set-file-modes.Dan Nicolaescu2008-12-241-0/+1
| | | | | * files.texi (Misc File Ops): Mention chmod as an alias for set-file-modes.
* (declare-function): Doc fix.Glenn Morris2008-12-131-1/+1
|
* Fix typo in last change.Chong Yidong2008-11-161-1/+1
|
* (read-passwd): Use read-event instead of read-char-exclusive.Chong Yidong2008-11-161-9/+16
|
* (read-passwd): Yank current kill if the user enters C-y.Chong Yidong2008-11-161-16/+29
|
* (looking-back): Fix doc-string typo.Martin Rudalics2008-11-041-1/+1
|
* (looking-back): Doc fix.Chong Yidong2008-11-031-3/+5
|
* (with-selected-window): Call set-frame-selected-windowMartin Rudalics2008-11-021-20/+23
| | | | | | with new argument NORECORD set. Update doc-string. (with-selected-frame): Call select-frame with new argument NORECORD set. Update doc-string.
* * subr.el (locate-user-emacs-file): Simplify. Don't createJuanma Barranquero2008-10-281-4/+6
| | | | `user-emacs-directory' when Emacs is running in batch mode.
* (with-current-buffer): Rename buffer argument to buffer-or-name.Martin Rudalics2008-10-251-6/+6
|
* New function `locate-user-emacs-file'.Juanma Barranquero2008-10-241-1/+18
| | | | | | | | | | | | | | | | | | | | | * subr.el (locate-user-emacs-file): New function. (user-emacs-directory): Mention it in docstring. * completion.el (save-completions-file-name): * filesets.el (filesets-menu-cache-file): * image-dired.el (image-dired-dir, image-dired-db-file) (image-dired-temp-image-file, image-dired-gallery-dir) (image-dired-temp-rotate-image-file): * savehist.el (savehist-file): * server.el (server-auth-dir): * startup.el (auto-save-list-file-prefix): * thumbs.el (thumbs-thumbsdir): * tutorial.el (tutorial--saved-dir): * play/gamegrid.el (gamegrid-user-score-file-directory): Use it. * url.el (url-configuration-directory): Use `locate-user-emacs-file'. * NEWS: New function `locate-user-emacs-file'.
* (apply-partially): Move from subr.el to simple.el.Eli Zaretskii2008-10-201-15/+0
|
* Fix last change (again).Eli Zaretskii2008-10-201-13/+13
|
* (split-string-and-unquote): Simplify regexp.Andreas Schwab2008-10-201-1/+1
|
* Fix last change.Eli Zaretskii2008-10-201-3/+5
|
* (top-level): Require `cl' when compiling.Eli Zaretskii2008-10-201-0/+4
|
* (apply-partially): Move from minibuffer.el to subr.el.Eli Zaretskii2008-10-191-0/+9
|
* (read-quoted-char): Call char-resolve-modifiersMartin Rudalics2008-09-281-1/+1
| | | | instead of char-resolve-modifers.
* (with-output-to-string): Make sure that the temporary buffer getsRomain Francoise2008-09-231-6/+7
| | | | killed.