Remove redundant #' before lambda in progmodes/*.el
* lisp/progmodes/cc-styles.el (c-set-offset): * lisp/progmodes/ebnf-yac.el (ebnf-yac-token-table): * lisp/progmodes/ebnf2ps.el (ebnf-format-float, ebnf-map-name): * lisp/progmodes/grep.el (lgrep, rgrep-default-command): * lisp/progmodes/inf-lisp.el: * lisp/progmodes/octave.el (octave-lookfor): * lisp/progmodes/python.el (python-pdbtrack-tracking-finish): Remove redundant #' before lambda.
This commit is contained in:
parent
8129998deb
commit
4a538c4861
7 changed files with 31 additions and 31 deletions
|
@ -476,8 +476,8 @@ and exists only for compatibility reasons."
|
|||
(if current-prefix-arg " or add" "")
|
||||
": ")
|
||||
(mapcar
|
||||
#'(lambda (langelem)
|
||||
(cons (format "%s" (car langelem)) nil))
|
||||
(lambda (langelem)
|
||||
(cons (format "%s" (car langelem)) nil))
|
||||
(get 'c-offsets-alist 'c-stylevar-fallback))
|
||||
nil (not current-prefix-arg)
|
||||
;; initial contents tries to be the last element
|
||||
|
|
|
@ -271,13 +271,13 @@
|
|||
(let ((table (make-vector 256 'error)))
|
||||
;; upper & lower case letters:
|
||||
(mapc
|
||||
#'(lambda (char)
|
||||
(aset table char 'non-terminal))
|
||||
(lambda (char)
|
||||
(aset table char 'non-terminal))
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")
|
||||
;; printable characters:
|
||||
(mapc
|
||||
#'(lambda (char)
|
||||
(aset table char 'character))
|
||||
(lambda (char)
|
||||
(aset table char 'character))
|
||||
"!#$&()*+-.0123456789=?@[\\]^_`~")
|
||||
;; Override space characters:
|
||||
(aset table ?\n 'space) ; [NL] linefeed
|
||||
|
|
|
@ -4398,8 +4398,8 @@ end
|
|||
|
||||
(defun ebnf-format-float (&rest floats)
|
||||
(mapconcat
|
||||
#'(lambda (float)
|
||||
(format ebnf-format-float float))
|
||||
(lambda (float)
|
||||
(format ebnf-format-float float))
|
||||
floats
|
||||
" "))
|
||||
|
||||
|
@ -4959,8 +4959,8 @@ killed after process termination."
|
|||
|
||||
(defvar ebnf-map-name
|
||||
(let ((map (make-vector 256 ?\_)))
|
||||
(mapc #'(lambda (char)
|
||||
(aset map char char))
|
||||
(mapc (lambda (char)
|
||||
(aset map char char))
|
||||
(concat "#$%&+-.0123456789=?@~"
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
"abcdefghijklmnopqrstuvwxyz"))
|
||||
|
|
|
@ -1134,13 +1134,13 @@ command before it's run."
|
|||
(and grep-find-ignored-files
|
||||
(concat " --exclude="
|
||||
(mapconcat
|
||||
#'(lambda (ignore)
|
||||
(cond ((stringp ignore)
|
||||
(shell-quote-argument ignore))
|
||||
((consp ignore)
|
||||
(and (funcall (car ignore) dir)
|
||||
(shell-quote-argument
|
||||
(cdr ignore))))))
|
||||
(lambda (ignore)
|
||||
(cond ((stringp ignore)
|
||||
(shell-quote-argument ignore))
|
||||
((consp ignore)
|
||||
(and (funcall (car ignore) dir)
|
||||
(shell-quote-argument
|
||||
(cdr ignore))))))
|
||||
grep-find-ignored-files
|
||||
" --exclude=")))
|
||||
(and (eq grep-use-directories-skip t)
|
||||
|
@ -1274,13 +1274,13 @@ command before it's run."
|
|||
;; we should use shell-quote-argument here
|
||||
" -name "
|
||||
(mapconcat
|
||||
#'(lambda (ignore)
|
||||
(cond ((stringp ignore)
|
||||
(shell-quote-argument ignore))
|
||||
((consp ignore)
|
||||
(and (funcall (car ignore) dir)
|
||||
(shell-quote-argument
|
||||
(cdr ignore))))))
|
||||
(lambda (ignore)
|
||||
(cond ((stringp ignore)
|
||||
(shell-quote-argument ignore))
|
||||
((consp ignore)
|
||||
(and (funcall (car ignore) dir)
|
||||
(shell-quote-argument
|
||||
(cdr ignore))))))
|
||||
grep-find-ignored-files
|
||||
" -o -name ")
|
||||
" "
|
||||
|
|
|
@ -442,7 +442,7 @@ With argument, positions cursor at end of buffer."
|
|||
;;; (let ((name-start (point)))
|
||||
;;; (forward-sexp 1)
|
||||
;;; (process-send-string "inferior-lisp"
|
||||
;;; (format "(compile '%s #'(lambda "
|
||||
;;; (format "(compile '%s (lambda "
|
||||
;;; (buffer-substring name-start
|
||||
;;; (point)))))
|
||||
;;; (let ((body-start (point)))
|
||||
|
|
|
@ -1769,8 +1769,8 @@ sentence."
|
|||
(insert "\nRetry with ")
|
||||
(insert-text-button "'-all'"
|
||||
'follow-link t
|
||||
'action #'(lambda (_b)
|
||||
(octave-lookfor str '-all)))
|
||||
'action (lambda (_b)
|
||||
(octave-lookfor str '-all)))
|
||||
(insert ".\n"))
|
||||
(octave-help-mode)))))
|
||||
|
||||
|
|
|
@ -241,8 +241,8 @@
|
|||
;; 2) Add the following hook in your .emacs:
|
||||
|
||||
;; (add-hook 'python-mode-hook
|
||||
;; #'(lambda ()
|
||||
;; (define-key python-mode-map "\C-m" 'newline-and-indent)))
|
||||
;; (lambda ()
|
||||
;; (define-key python-mode-map "\C-m" 'newline-and-indent)))
|
||||
|
||||
;; I'd recommend the first one since you'll get the same behavior for
|
||||
;; all modes out-of-the-box.
|
||||
|
@ -3976,8 +3976,8 @@ Returns the tracked buffer."
|
|||
"Finish tracking."
|
||||
(python-pdbtrack-unset-tracked-buffer)
|
||||
(when python-pdbtrack-kill-buffers
|
||||
(mapc #'(lambda (buffer)
|
||||
(ignore-errors (kill-buffer buffer)))
|
||||
(mapc (lambda (buffer)
|
||||
(ignore-errors (kill-buffer buffer)))
|
||||
python-pdbtrack-buffers-to-kill))
|
||||
(setq python-pdbtrack-buffers-to-kill nil))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue