aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/lisp-mode.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index 0e1d3709194..aeeea2178b3 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -461,11 +461,6 @@ This will generate compile-time constants from BINDINGS."
461 (throw 'found t))))))) 461 (throw 'found t)))))))
462 (1 'font-lock-regexp-grouping-backslash prepend) 462 (1 'font-lock-regexp-grouping-backslash prepend)
463 (3 'font-lock-regexp-grouping-construct prepend)) 463 (3 'font-lock-regexp-grouping-construct prepend))
464 ;; This is too general -- rms.
465 ;; A user complained that he has functions whose names start with `do'
466 ;; and that they get the wrong color.
467 ;; ;; CL `with-' and `do-' constructs
468 ;;("(\\(\\(do-\\|with-\\)\\(\\s_\\|\\w\\)*\\)" 1 font-lock-keyword-face)
469 (lisp--match-hidden-arg 464 (lisp--match-hidden-arg
470 (0 '(face font-lock-warning-face 465 (0 '(face font-lock-warning-face
471 help-echo "Hidden behind deeper element; move to another line?"))) 466 help-echo "Hidden behind deeper element; move to another line?")))
@@ -505,8 +500,10 @@ This will generate compile-time constants from BINDINGS."
505 ;; This is too general -- rms. 500 ;; This is too general -- rms.
506 ;; A user complained that he has functions whose names start with `do' 501 ;; A user complained that he has functions whose names start with `do'
507 ;; and that they get the wrong color. 502 ;; and that they get the wrong color.
508 ;; ;; CL `with-' and `do-' constructs 503 ;; That user has violated the http://www.cliki.net/Naming+conventions:
509 ;;("(\\(\\(do-\\|with-\\)\\(\\s_\\|\\w\\)*\\)" 1 font-lock-keyword-face) 504 ;; CL (but not EL!) `with-' (context) and `do-' (iteration)
505 (,(concat "(\\(\\(do-\\|with-\\)" lisp-mode-symbol-regexp "\\)")
506 (1 font-lock-keyword-face))
510 (lisp--match-hidden-arg 507 (lisp--match-hidden-arg
511 (0 '(face font-lock-warning-face 508 (0 '(face font-lock-warning-face
512 help-echo "Hidden behind deeper element; move to another line?"))) 509 help-echo "Hidden behind deeper element; move to another line?")))