comparison lisp/subr.el @ 104626:caa79498564a

* 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.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 27 Aug 2009 04:24:00 +0000
parents f700ef41d26c
children b4c0b272ac7a
comparison
equal deleted inserted replaced
104625:97ec4e51e2eb 104626:caa79498564a
997 and `event-end' functions." 997 and `event-end' functions."
998 (nth 9 position)) 998 (nth 9 position))
999 999
1000 1000
1001 ;;;; Obsolescent names for functions. 1001 ;;;; Obsolescent names for functions.
1002
1003 ;; Special "default-FOO" variables which contain the default value of
1004 ;; the "FOO" variable are nasty. Their implementation is brittle, and
1005 ;; slows down several unrelated variable operations; furthermore, they
1006 ;; can lead to really odd behavior if you decide to make them
1007 ;; buffer-local.
1008
1009 ;; Not used at all in Emacs, last time I checked:
1010 (make-obsolete-variable 'default-mode-line-format 'mode-line-format "23.2")
1011 (make-obsolete-variable 'default-header-line-format 'header-line-format "23.2")
1012 (make-obsolete-variable 'default-line-spacing 'line-spacing "23.2")
1013 (make-obsolete-variable 'default-abbrev-mode 'abbrev-mode "23.2")
1014 (make-obsolete-variable 'default-ctl-arrow 'ctl-arrow "23.2")
1015 (make-obsolete-variable 'default-direction-reversed 'direction-reversed "23.2")
1016 (make-obsolete-variable 'default-truncate-lines 'truncate-lines "23.2")
1017 (make-obsolete-variable 'default-left-margin 'left-margin "23.2")
1018 (make-obsolete-variable 'default-tab-width 'tab-width "23.2")
1019 (make-obsolete-variable 'default-case-fold-search 'case-fold-search "23.2")
1020 (make-obsolete-variable 'default-left-margin-width 'left-margin-width "23.2")
1021 (make-obsolete-variable 'default-right-margin-width 'right-margin-width "23.2")
1022 (make-obsolete-variable 'default-left-fringe-width 'left-fringe-width "23.2")
1023 (make-obsolete-variable 'default-right-fringe-width 'right-fringe-width "23.2")
1024 (make-obsolete-variable 'default-fringes-outside-margins 'fringes-outside-margins "23.2")
1025 (make-obsolete-variable 'default-scroll-bar-width 'scroll-bar-width "23.2")
1026 (make-obsolete-variable 'default-vertical-scroll-bar 'vertical-scroll-bar "23.2")
1027 (make-obsolete-variable 'default-indicate-empty-lines 'indicate-empty-lines "23.2")
1028 (make-obsolete-variable 'default-indicate-buffer-boundaries 'indicate-buffer-boundaries "23.2")
1029 (make-obsolete-variable 'default-fringe-indicator-alist 'fringe-indicator-alist "23.2")
1030 (make-obsolete-variable 'default-fringe-cursor-alist 'fringe-cursor-alist "23.2")
1031 (make-obsolete-variable 'default-scroll-up-aggressively 'scroll-up-aggressively "23.2")
1032 (make-obsolete-variable 'default-scroll-down-aggressively 'scroll-down-aggressively "23.2")
1033 (make-obsolete-variable 'default-fill-column 'fill-column "23.2")
1034 (make-obsolete-variable 'default-cursor-type 'cursor-type "23.2")
1035 (make-obsolete-variable 'default-buffer-file-type 'buffer-file-type "23.2")
1036 (make-obsolete-variable 'default-cursor-in-non-selected-windows 'cursor-in-non-selected-windows "23.2")
1037 (make-obsolete-variable 'default-buffer-file-coding-system 'buffer-file-coding-system "23.2")
1038 (make-obsolete-variable 'default-major-mode 'major-mode "23.2")
1039 (make-obsolete-variable 'default-enable-multibyte-characters
1040 "use enable-multibyte-characters or set-buffer-multibyte instead" "23.2")
1002 1041
1003 (define-obsolete-function-alias 'window-dot 'window-point "22.1") 1042 (define-obsolete-function-alias 'window-dot 'window-point "22.1")
1004 (define-obsolete-function-alias 'set-window-dot 'set-window-point "22.1") 1043 (define-obsolete-function-alias 'set-window-dot 'set-window-point "22.1")
1005 (define-obsolete-function-alias 'read-input 'read-string "22.1") 1044 (define-obsolete-function-alias 'read-input 'read-string "22.1")
1006 (define-obsolete-function-alias 'show-buffer 'set-window-buffer "22.1") 1045 (define-obsolete-function-alias 'show-buffer 'set-window-buffer "22.1")