Function: etags--keywords-case-insensitive-p
etags--keywords-case-insensitive-p is a byte-compiled function defined
in etags.el.gz.
Signature
(etags--keywords-case-insensitive-p FILENAME)
Documentation
Whether keywords are expected to be case-insensitive in FILENAME.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
(defun etags--keywords-case-insensitive-p (filename)
"Whether keywords are expected to be case-insensitive in FILENAME."
;; FIXME: It is not enough to go by the filename's extension, we need
;; to use the actual major-mode to be used forthe file. But
;; determining the major-mode requires visiting the file (to take note
;; of the various local vars and cookies), and on top of that Emacs
;; doesn't have a function that just determines the mode without
;; turning it ON.
(let ((fnext (file-name-extension filename)))
(memq (if (file-name-case-insensitive-p filename)
;; Prevent Turkish etc. case-conversions from getting in
;; our way.
(with-case-table ascii-case-table
(downcase fnext))
fnext)
etags--case-insensitive-files)))