comparison lisp/progmodes/cperl-mode.el @ 111461:2b266010d0b7

system-type related trivia. * lisp/cedet/semantic/bovine/c.el: Test system-type with memq. * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags): No recent Emacs supports system-type `emx'. * lisp/progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows. (ada-command-separator, ada-default-prj-properties) (ada-find-any-references): Update for above name change. * lisp/dirtrack.el (dirtrack-directory-function) (dirtrack-canonicalize-function): * lisp/filecache.el (file-cache-completion-ignore-case) (file-cache-case-fold-search, file-cache-ignore-case): * lisp/term.el (serial-port-is-file-p): Cosmetic change. * lisp/emulation/viper-init.el (viper-ms-style-os-p): Doc fix. Remove non-existent `windows-95' system-type. * lisp/dired.el (dired-chown-program): Remove non-existent `linux' system-type. * lisp/locate.el: Comment.
author Glenn Morris <rgm@gnu.org>
date Tue, 09 Nov 2010 20:24:47 -0800
parents 56b71cddc9c5
children 417b1e4d63cd
comparison
equal deleted inserted replaced
111460:ca911a71a6c8 111461:2b266010d0b7
3801 first-format-line t 3801 first-format-line t
3802 REx-part2 t 3802 REx-part2 t
3803 indentable t)) 3803 indentable t))
3804 ;; Need to remove face as well... 3804 ;; Need to remove face as well...
3805 (goto-char min) 3805 (goto-char min)
3806 (and (eq system-type 'emx) 3806 ;; 'emx not supported by Emacs since at least 21.1.
3807 (and (featurep 'xemacs) (eq system-type 'emx)
3807 (eq (point) 1) 3808 (eq (point) 1)
3808 (let ((case-fold-search t)) 3809 (let ((case-fold-search t))
3809 (looking-at "extproc[ \t]")) ; Analogue of #! 3810 (looking-at "extproc[ \t]")) ; Analogue of #!
3810 (cperl-commentify min 3811 (cperl-commentify min
3811 (point-at-eol) 3812 (point-at-eol)
7036 (setq file (if dir default-directory (buffer-file-name))) 7037 (setq file (if dir default-directory (buffer-file-name)))
7037 (if (and (not dir) (buffer-modified-p)) (error "Save buffer first!"))) 7038 (if (and (not dir) (buffer-modified-p)) (error "Save buffer first!")))
7038 (or topdir 7039 (or topdir
7039 (setq topdir default-directory)) 7040 (setq topdir default-directory))
7040 (let ((tags-file-name "TAGS") 7041 (let ((tags-file-name "TAGS")
7041 (case-fold-search (eq system-type 'emx)) 7042 (case-fold-search (and (featurep 'xemacs) (eq system-type 'emx)))
7042 xs rel tm) 7043 xs rel tm)
7043 (save-excursion 7044 (save-excursion
7044 (cond (inbuffer nil) ; Already there 7045 (cond (inbuffer nil) ; Already there
7045 ((file-exists-p tags-file-name) 7046 ((file-exists-p tags-file-name)
7046 (if (featurep 'xemacs) 7047 (if (featurep 'xemacs)