Lines Matching +defs:find +defs:if
29 ;; #! line at the beginning of the file, if the file does not already
33 ;; a new instance of the running shell (or to a Bourne shell if a csh is
42 ;; the file, if the file does not already have one and the file is not a
44 ;; makes the file executable if it wasn't, as soon as it's saved.
97 "*After saving, if the file is not executable, set this mode.
99 relative to the files existing modes. Do nothing if this is nil.
145 (defun executable-command-find-posix-p (&optional program)
146 "Check if PROGRAM handles arguments Posix-style.
147 If PROGRAM is non-nil, use that instead of \"find\"."
152 (call-process (or program "find")
162 (if (search-forward file nil t)
173 (if (< executable-chmod 0)
183 command to find the next error. The buffer is also in `comint-mode' and
209 (setq interpreter (if (file-name-absolute-p interpreter)
211 (or (executable-find interpreter)
215 (setq argument (concat (if (string-match "\\`/:" interpreter)
222 (if buffer-file-name
230 (if (looking-at "#![ \t]*\\(.*\\)$")
237 (if (or (not executable-query) no-query-flag
259 (if (eq this-command 'executable-self-display)
264 (defun executable-make-buffer-file-executable-if-script-p ()
265 "Make file executable according to umask if not already executable.