Small changes:
- No bells at all. Shut up, emacs! - Don't put temporary files everywhere. Just don't! - Don't have scroll bars in new frames
This commit is contained in:
		
							parent
							
								
									bdbc18d285
								
							
						
					
					
						commit
						4fd813f0de
					
				
					 2 changed files with 11 additions and 3 deletions
				
			
		| 
						 | 
					@ -7,6 +7,15 @@
 | 
				
			||||||
(tool-bar-mode 0)
 | 
					(tool-bar-mode 0)
 | 
				
			||||||
(scroll-bar-mode 0)
 | 
					(scroll-bar-mode 0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(defun disable-scroll-bar ()
 | 
				
			||||||
 | 
					  (scroll-bar-mode 0))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					; And remember to do it if I create a new frame.
 | 
				
			||||||
 | 
					(add-hook 'before-make-frame-hook 'disable-scroll-bar)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					;; Don't make any noises, don't flash, just leave me alone
 | 
				
			||||||
 | 
					(setq ring-bell-function 'ignore)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Go away go away
 | 
					;; Go away go away
 | 
				
			||||||
(setq initial-scratch-message "")
 | 
					(setq initial-scratch-message "")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -45,7 +54,7 @@
 | 
				
			||||||
      ediff-split-window-function 'split-window-horizontally
 | 
					      ediff-split-window-function 'split-window-horizontally
 | 
				
			||||||
      oddmuse-directory (concat user-emacs-directory "oddmuse")
 | 
					      oddmuse-directory (concat user-emacs-directory "oddmuse")
 | 
				
			||||||
      save-place-file (concat user-emacs-directory "places")
 | 
					      save-place-file (concat user-emacs-directory "places")
 | 
				
			||||||
      backup-directory-alist `(("." . ,(concat user-emacs-directory "backups")))
 | 
					      backup-directory-alist `((,(concat user-emacs-directory "backups")))
 | 
				
			||||||
      diff-switches "-u")
 | 
					      diff-switches "-u")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Fix keys on Linux
 | 
					;; Fix keys on Linux
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										3
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
					@ -13,7 +13,7 @@
 | 
				
			||||||
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
 | 
					(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; And load things!
 | 
					;; And load things!
 | 
				
			||||||
;; (package-refresh-contents)
 | 
					(package-refresh-contents)
 | 
				
			||||||
(package-initialize)
 | 
					(package-initialize)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(defvar my-pkgs
 | 
					(defvar my-pkgs
 | 
				
			||||||
| 
						 | 
					@ -112,4 +112,3 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Start server for emacsclient
 | 
					;; Start server for emacsclient
 | 
				
			||||||
;; (server-start)
 | 
					;; (server-start)
 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue