mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Convert more defvars to defcustoms.
* dos-w32.el (file-name-buffer-file-type-alist) (direct-print-region-use-command-dot-com): * ffap.el (ffap-menu-regexp): * follow.el (follow-debug): * forms.el (forms--debug): * iswitchb.el (iswitchb-all-frames): * ido.el (ido-all-frames): * mail/feedmail.el (feedmail-mail-send-hook) (feedmail-mail-send-hook-queued): * mail/footnote.el (footnote-signature-separator): * mail/mailabbrev.el (mail-alias-separator-string) (mail-abbrev-mode-regexp): * mail/rmail.el (rmail-speedbar-match-folder-regexp): * progmodes/idlwave.el (idlwave-libinfo-file) (idlwave-default-completion-case-is-down) (idlwave-library-routines): Convert defvars to defcustoms. * mail/rmail.el (rmail-decode-mime-charset): * progmodes/idlw-shell.el (idlwave-shell-print-expression-function) (idlwave-shell-fix-inserted-breaks) (idlwave-shell-activate-alt-keybindings) (idlwave-shell-use-breakpoint-glyph): * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars. * doc/lispref/os.texi (Timers): Use defopt for timer-max-repeats.
This commit is contained in:
parent
ab0fa4e4ba
commit
78f3273aab
19 changed files with 125 additions and 109 deletions
|
|
@ -38,9 +38,8 @@
|
|||
(setq null-device "NUL")
|
||||
|
||||
;; For distinguishing file types based upon suffixes.
|
||||
(defvar file-name-buffer-file-type-alist
|
||||
'(
|
||||
("[:/].*config.sys$" . nil) ; config.sys text
|
||||
(defcustom file-name-buffer-file-type-alist
|
||||
'(("[:/].*config.sys$" . nil) ; config.sys text
|
||||
("\\.\\(obj\\|exe\\|com\\|lib\\|sys\\|bin\\|ico\\|pif\\|class\\)$" . t)
|
||||
; MS-Dos stuff
|
||||
("\\.\\(dll\\|drv\\|386\\|vxd\\|fon\\|fnt\\|fot\\|ttf\\|grp\\)$" . t)
|
||||
|
|
@ -57,7 +56,10 @@
|
|||
)
|
||||
"Alist for distinguishing text files from binary files.
|
||||
Each element has the form (REGEXP . TYPE), where REGEXP is matched
|
||||
against the file name, and TYPE is nil for text, t for binary.")
|
||||
against the file name, and TYPE is nil for text, t for binary."
|
||||
:type '(repeat (cons regexp boolean))
|
||||
:group 'dos-fns
|
||||
:group 'w32)
|
||||
|
||||
;; Return the pair matching filename on file-name-buffer-file-type-alist,
|
||||
;; or nil otherwise.
|
||||
|
|
@ -282,8 +284,11 @@ filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"."
|
|||
|
||||
;;; Support for printing under DOS/Windows, see lpr.el and ps-print.el.
|
||||
|
||||
(defvar direct-print-region-use-command-dot-com t
|
||||
"Control whether command.com is used to print on Windows 9x.")
|
||||
(defcustom direct-print-region-use-command-dot-com t
|
||||
"If non-nil, use command.com to print on Windows 9x."
|
||||
:type 'boolean
|
||||
:group 'dos-fns
|
||||
:group 'w32)
|
||||
|
||||
;; Function to actually send data to the printer port.
|
||||
;; Supports writing directly, and using various programs.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue