mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
Merge from trunk
This commit is contained in:
commit
2c302df3a1
661 changed files with 39448 additions and 23155 deletions
|
|
@ -407,10 +407,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map.")
|
|||
(if (and (buffer-modified-p)
|
||||
(y-or-n-p (format "Save buffer %s first? " (buffer-name))))
|
||||
(save-buffer))
|
||||
(let ((compiled-file-name (byte-compile-dest-file buffer-file-name)))
|
||||
(if (file-newer-than-file-p compiled-file-name buffer-file-name)
|
||||
(load-file compiled-file-name)
|
||||
(byte-compile-file buffer-file-name t))))
|
||||
(byte-recompile-file buffer-file-name nil 0 t))
|
||||
|
||||
(defcustom emacs-lisp-mode-hook nil
|
||||
"Hook run when entering Emacs Lisp mode."
|
||||
|
|
@ -1078,7 +1075,7 @@ is the buffer position of the start of the containing expression."
|
|||
(goto-char calculate-lisp-indent-last-sexp)
|
||||
(or (and (looking-at ":")
|
||||
(setq indent (current-column)))
|
||||
(and (< (save-excursion (beginning-of-line) (point))
|
||||
(and (< (line-beginning-position)
|
||||
(prog2 (backward-sexp) (point)))
|
||||
(looking-at ":")
|
||||
(setq indent (current-column))))
|
||||
|
|
@ -1440,5 +1437,4 @@ means don't indent that line."
|
|||
|
||||
(provide 'lisp-mode)
|
||||
|
||||
;; arch-tag: 414c7f93-c245-4b77-8ed5-ed05ef7ff1bf
|
||||
;;; lisp-mode.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue