comparison lisp/subr.el @ 55884:cd90d2110ad4

(process-kill-without-query): Remove spurious "\n" on obsolescence string. (focus-frame, unfocus-frame): Add obsolescence declaration and empty docstring.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 02 Jun 2004 00:38:00 +0000
parents af9432138635
children 3c32f5d8430f
comparison
equal deleted inserted replaced
55883:cde9d1fff89c 55884:cd90d2110ad4
849 (make-obsolete 'dot 'point "before 19.15") 849 (make-obsolete 'dot 'point "before 19.15")
850 (make-obsolete 'dot-max 'point-max "before 19.15") 850 (make-obsolete 'dot-max 'point-max "before 19.15")
851 (make-obsolete 'dot-min 'point-min "before 19.15") 851 (make-obsolete 'dot-min 'point-min "before 19.15")
852 (make-obsolete 'dot-marker 'point-marker "before 19.15") 852 (make-obsolete 'dot-marker 'point-marker "before 19.15")
853 (make-obsolete 'buffer-flush-undo 'buffer-disable-undo "before 19.15") 853 (make-obsolete 'buffer-flush-undo 'buffer-disable-undo "before 19.15")
854 (make-obsolete 'baud-rate "use the baud-rate variable instead." "before 19.15") 854 (make-obsolete 'baud-rate "use the `baud-rate' variable instead." "before 19.15")
855 (make-obsolete 'compiled-function-p 'byte-code-function-p "before 19.15") 855 (make-obsolete 'compiled-function-p 'byte-code-function-p "before 19.15")
856 (make-obsolete 'define-function 'defalias "20.1") 856 (make-obsolete 'define-function 'defalias "20.1")
857 (make-obsolete 'focus-frame "it does nothing." "19.32")
858 (make-obsolete 'unfocus-frame "it does nothing." "19.32")
857 859
858 (defun insert-string (&rest args) 860 (defun insert-string (&rest args)
859 "Mocklisp-compatibility insert function. 861 "Mocklisp-compatibility insert function.
860 Like the function `insert' except that any argument that is a number 862 Like the function `insert' except that any argument that is a number
861 is converted into a string by expressing it in decimal." 863 is converted into a string by expressing it in decimal."
868 ;; Some programs still use this as a function. 870 ;; Some programs still use this as a function.
869 (defun baud-rate () 871 (defun baud-rate ()
870 "Return the value of the `baud-rate' variable." 872 "Return the value of the `baud-rate' variable."
871 baud-rate) 873 baud-rate)
872 874
873 (defalias 'focus-frame 'ignore) 875 (defalias 'focus-frame 'ignore "")
874 (defalias 'unfocus-frame 'ignore) 876 (defalias 'unfocus-frame 'ignore "")
875 877
876 878
877 ;;;; Obsolescence declarations for variables. 879 ;;;; Obsolescence declarations for variables.
878 880
879 (make-obsolete-variable 'directory-sep-char "do not use it." "21.1") 881 (make-obsolete-variable 'directory-sep-char "do not use it." "21.1")
1184 1186
1185 1187
1186 ;; compatibility 1188 ;; compatibility
1187 1189
1188 (make-obsolete 'process-kill-without-query 1190 (make-obsolete 'process-kill-without-query
1189 "use `process-query-on-exit-flag'\nor `set-process-query-on-exit-flag'." 1191 "use `process-query-on-exit-flag' or `set-process-query-on-exit-flag'."
1190 "21.5") 1192 "21.5")
1191 (defun process-kill-without-query (process &optional flag) 1193 (defun process-kill-without-query (process &optional flag)
1192 "Say no query needed if PROCESS is running when Emacs is exited. 1194 "Say no query needed if PROCESS is running when Emacs is exited.
1193 Optional second argument if non-nil says to require a query. 1195 Optional second argument if non-nil says to require a query.
1194 Value is t if a query was formerly required." 1196 Value is t if a query was formerly required."