Emacs 21 23 , .emac , Emacs 21, Emacs 23, :
(GNUEmacs21
(global-set-key (quote [f4]) (quote dired-omit-toggle))
)
(GNUEmacs22
(global-set-key (quote [f4]) (quote dired-omit-mode))
)
(GNUEmacs23
(global-set-key (quote [f4]) (quote dired-omit-mode))
)
GNUEmacs21, GNUEmacs22 GNUEmacs23 .emacs :
(defmacro GNUEmacs23 (&rest body)
(list 'if (string-match "GNU Emacs 23" (version))
(cons 'progn body)))
(defmacro GNUEmacs22 (&rest body)
(list 'if (string-match "GNU Emacs 22" (version))
(cons 'progn body)))
(defmacro GNUEmacs21 (&rest body)
(list 'if (string-match "GNU Emacs 21" (version))
(cons 'progn body)))