diff options
| author | Tom Tromey <tromey@redhat.com> | 2013-03-08 11:57:29 -0700 | 
|---|---|---|
| committer | Tom Tromey <tromey@redhat.com> | 2013-03-08 11:57:29 -0700 | 
| commit | 71f91792e3013b397996905224f387da5cc539a9 (patch) | |
| tree | 4c3d3ba909e76deea1cdf73b73fca67a57149465 /lisp/emacs-lisp/lisp-mode.el | |
| parent | 6f4de085f065e11f4df3195d47479f28f5ef08ba (diff) | |
| parent | b5426561089d39f18b42bed9dbfcb531f43ed562 (diff) | |
| download | emacs-71f91792e3013b397996905224f387da5cc539a9.tar.gz | |
merge from trunk
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 20 | 
1 files changed, 18 insertions, 2 deletions
| diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 72794c304ea..4ebaa0a49d5 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -226,7 +226,7 @@ font-lock keywords will not be case sensitive."    (setq font-lock-defaults  	`((lisp-font-lock-keywords  	   lisp-font-lock-keywords-1 lisp-font-lock-keywords-2) -	  nil ,keywords-case-insensitive (("+-*/.<>=!?$%_&~^:@" . "w")) nil +	  nil ,keywords-case-insensitive nil nil  	  (font-lock-mark-block-function . mark-defun)  	  (font-lock-syntactic-face-function  	   . lisp-font-lock-syntactic-face-function)))) @@ -335,6 +335,22 @@ font-lock keywords will not be case sensitive."      (bindings--define-key prof-map [prof-func]        '(menu-item "Instrument Function..." elp-instrument-function  		  :help "Instrument a function for profiling")) +    ;; Maybe this should be in a separate submenu from the ELP stuff? +    (bindings--define-key prof-map [sep-natprof] menu-bar-separator) +    (bindings--define-key prof-map [prof-natprof-stop] +      '(menu-item "Stop Native Profiler" profiler-stop +		  :help "Stop recording profiling information" +		  :enable (and (featurep 'profiler) +			       (profiler-running-p)))) +    (bindings--define-key prof-map [prof-natprof-report] +      '(menu-item "Show Profiler Report" profiler-report +		  :help "Show the current profiler report" +		  :enable (and (featurep 'profiler) +			       (profiler-running-p)))) +    (bindings--define-key prof-map [prof-natprof-start] +      '(menu-item "Start Native Profiler..." profiler-start +		  :help "Start recording profiling information")) +      (bindings--define-key menu-map [lint] (cons "Linting" lint-map))      (bindings--define-key lint-map [lint-di]        '(menu-item "Lint Directory..." elint-directory @@ -1156,7 +1172,7 @@ is the buffer position of the start of the containing expression."  The function `calculate-lisp-indent' calls this to determine  if the arguments of a Lisp function call should be indented specially. -INDENT-POINT is the position where the user typed TAB, or equivalent. +INDENT-POINT is the position at which the line being indented begins.  Point is located at the point to indent under (for default indentation);  STATE is the `parse-partial-sexp' state for that position. | 
